mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-06-06 06:59:49 +08:00
修正DtkPlugin中的亮暗色更改判断逻辑错误
This commit is contained in:
parent
5b946bb91a
commit
8ac76b668e
@ -13,8 +13,10 @@ void SpkDtkPluginImpl::Initialize()
|
||||
&SpkDtkPluginImpl::AccentColorChanged);
|
||||
connect(DGuiApplicationHelper::instance(),
|
||||
&DGuiApplicationHelper::themeTypeChanged,
|
||||
this,
|
||||
&SpkDtkPluginImpl::DarkLightThemeChanged);
|
||||
[&](Dtk::Gui::DGuiApplicationHelper::ColorType t)
|
||||
{
|
||||
this->DarkLightThemeChanged(t == Dtk::Gui::DGuiApplicationHelper::DarkType);
|
||||
});
|
||||
}
|
||||
|
||||
void SpkDtkPluginImpl::addWindow(QWidget *w, QObject *parent)
|
||||
|
Loading…
x
Reference in New Issue
Block a user