mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 10:15:43 +08:00
Ref T639, unify the connect buttons
* toggle connection from button bar directly -> public * use Qt::QueuedConnection * allow to reset values
This commit is contained in:
@@ -245,7 +245,7 @@ void SwiftGuiStd::initGuiSignals()
|
||||
if (!sApp || sApp->isShuttingDown()) { return; }
|
||||
ui->sw_MainMiddle->setCurrentIndex(MainPageLogin);
|
||||
});
|
||||
connect(this, &SwiftGuiStd::currentMainInfoAreaChanged, ui->comp_Login, &CLoginComponent::mainInfoAreaChanged);
|
||||
connect(this, &SwiftGuiStd::currentMainInfoAreaChanged, ui->comp_Login, &CLoginComponent::mainInfoAreaChanged, Qt::QueuedConnection);
|
||||
|
||||
// text messages
|
||||
connect(ui->comp_MainInfoArea->getAtcStationComponent(), &CAtcStationComponent::requestTextMessageWidget, ui->comp_MainInfoArea->getTextMessageComponent(), &CTextMessageComponent::showCorrespondingTab, Qt::QueuedConnection);
|
||||
|
||||
Reference in New Issue
Block a user