Style change signals used Qt::QueuedConnection

This commit is contained in:
Klaus Basan
2018-07-31 01:02:16 +02:00
parent d9f0066ec4
commit 4ca6bb11aa
16 changed files with 29 additions and 27 deletions

View File

@@ -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();