mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Style change signals used Qt::QueuedConnection
This commit is contained in:
@@ -60,7 +60,7 @@ namespace BlackGui
|
||||
this->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
connect(this->m_input, &CMarginsInput::changedMargins, this, &CNavigatorDialog::ps_menuChangeMargins);
|
||||
connect(this, &CNavigatorDialog::customContextMenuRequested, this, &CNavigatorDialog::ps_showContextMenu);
|
||||
connect(sGui, &CGuiApplication::styleSheetsChanged, this, &CNavigatorDialog::ps_onStyleSheetsChanged);
|
||||
connect(sGui, &CGuiApplication::styleSheetsChanged, this, &CNavigatorDialog::ps_onStyleSheetsChanged, Qt::QueuedConnection);
|
||||
this->ps_onStyleSheetsChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user