mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00
fix: dock theme not follow system
reset dock dapplication palettetype to 0 log: as title issue: https://github.com/linuxdeepin/developer-center/issues/7090
This commit is contained in:
parent
c0c909f9e8
commit
572c0c8aad
@ -159,6 +159,10 @@ int main(int argc, char *argv[])
|
||||
DockApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
|
||||
DockApplication app(argc, argv);
|
||||
|
||||
// NOTE: dde-shell load dde-dock plugins and mark loader program DS_APP_ID as dde-dock
|
||||
// so need reset DGuiApplication pallette to follow system
|
||||
DGuiApplicationHelper::instance()->setPaletteType(DGuiApplicationHelper::ColorType::UnknownType);
|
||||
|
||||
//崩溃信号
|
||||
signal(SIGSEGV, sig_crash);
|
||||
signal(SIGILL, sig_crash);
|
||||
|
Loading…
x
Reference in New Issue
Block a user