func:添加显示驱动器。

This commit is contained in:
2025-11-09 18:10:54 +08:00
parent c4a773e156
commit 67db0163fc
9 changed files with 37 additions and 10 deletions

View File

@@ -11,7 +11,8 @@ RemoteFile::RemoteFile(QObject* parent) : DirFileHelper(parent)
void RemoteFile::setClientCore(ClientCore* cliCore)
{
cliCore_ = cliCore;
connect(cliCore_, &ClientCore::sigPath, this, [this](const QString& path) { sigHome(path); });
connect(cliCore_, &ClientCore::sigPath, this,
[this](const QString& path, const QStringList& drivers) { sigHome(path, drivers); });
connect(cliCore_, &ClientCore::sigFiles, this, [this](const DirFileInfoVec& files) { sigDirFile(files); });
}