mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Fixed crash when changing UI style (fusion, ...)
* use overloaded function with string directly * Qt::QueuedConnection The old version looked correct to me, nevertheless it did always crash
This commit is contained in:
committed by
Mat Sutcliffe
parent
9fd782af71
commit
77acffb73e
@@ -37,7 +37,7 @@ namespace BlackGui
|
||||
|
||||
// Widget style
|
||||
connect(ui->hs_SettingsGuiOpacity, &QSlider::valueChanged, this, &CSettingsGuiComponent::changedWindowsOpacity);
|
||||
connect(ui->cb_SettingsGuiWidgetStyle, qOverload<const QString &>(&QComboBox::currentIndexChanged), this, &CSettingsGuiComponent::widgetStyleChanged);
|
||||
connect(ui->cb_SettingsGuiWidgetStyle, qOverload<const QString &>(&QComboBox::currentIndexChanged), this, &CSettingsGuiComponent::widgetStyleChanged, Qt::QueuedConnection);
|
||||
|
||||
ui->comp_SettingsFonts->setStyleSheetDefaultColor();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user