Skip to content

Commit

Permalink
sync: from linuxdeepin/dtkgui
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/dtkgui.

Source-pull-request: linuxdeepin/dtkgui#226
  • Loading branch information
deepin-ci-robot authored and kegechen committed Mar 5, 2024
1 parent f01aeb4 commit 4a5070d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/kernel/dguiapplicationhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,6 @@ void DGuiApplicationHelperPrivate::setPaletteType(DGuiApplicationHelper::ColorTy

D_Q(DGuiApplicationHelper);
Q_EMIT q->paletteTypeChanged(paletteType);

_d_dconfig->setValue(APP_THEME_TYPE, paletteType);
}

void DGuiApplicationHelperPrivate::initPaletteType() const
Expand Down Expand Up @@ -1773,6 +1771,7 @@ void DGuiApplicationHelper::setPaletteType(DGuiApplicationHelper::ColorType pale

d->initPaletteType();
d->setPaletteType(paletteType, true);
_d_dconfig->setValue(APP_THEME_TYPE, paletteType);
}

/*!
Expand Down

0 comments on commit 4a5070d

Please sign in to comment.