glodata: add global struct data.

This commit is contained in:
2025-06-20 16:00:18 +08:00
parent 0afd04dc19
commit a019a5ea78
9 changed files with 107 additions and 22 deletions

View File

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