mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Style change signals used Qt::QueuedConnection
This commit is contained in:
@@ -57,7 +57,7 @@ namespace BlackGui
|
||||
connect(this, &QTextEdit::customContextMenuRequested, this, &CTextMessageTextEdit::showContextMenuForTextEdit);
|
||||
|
||||
// style sheet
|
||||
connect(sGui, &CGuiApplication::styleSheetsChanged, this, &CTextMessageTextEdit::onStyleSheetChanged);
|
||||
connect(sGui, &CGuiApplication::styleSheetsChanged, this, &CTextMessageTextEdit::onStyleSheetChanged, Qt::QueuedConnection);
|
||||
onStyleSheetChanged();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user