remove: get root callback.

This commit is contained in:
2025-06-20 16:05:37 +08:00
parent a019a5ea78
commit 6941e1b893
6 changed files with 5 additions and 28 deletions

View File

@@ -47,9 +47,7 @@ void frelayGUI::InitControl()
remoteFile_ = new FileManager(this);
localFile_->SetModeStr(tr("Local:"), 0, clientCore_);
localFile_->SetOtherSideCall([this]() { return remoteFile_->GetRoot(); });
remoteFile_->SetModeStr(tr("Remote:"), 1, clientCore_);
remoteFile_->SetOtherSideCall([this]() { return localFile_->GetRoot(); });
tabWidget_ = new QTabWidget(this);