mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Style change signals used Qt::QueuedConnection
This commit is contained in:
@@ -57,7 +57,7 @@ CSwiftCore::CSwiftCore(QWidget *parent) :
|
||||
m_mwaStatusBar = nullptr;
|
||||
|
||||
connect(ui->pb_Restart, &QPushButton::clicked, this, &CSwiftCore::restart);
|
||||
connect(sGui, &CGuiApplication::styleSheetsChanged, this, &CSwiftCore::onStyleSheetsChanged);
|
||||
connect(sGui, &CGuiApplication::styleSheetsChanged, this, &CSwiftCore::onStyleSheetsChanged, Qt::QueuedConnection);
|
||||
|
||||
this->initLogDisplay();
|
||||
this->initStyleSheet();
|
||||
|
||||
Reference in New Issue
Block a user