File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1821,7 +1821,8 @@ void DGuiApplicationHelper::setPaletteType(DGuiApplicationHelper::ColorType pale
18211821
18221822 d->initPaletteType ();
18231823 d->setPaletteType (paletteType, true );
1824- _d_dconfig->setThemeType (static_cast <int >(paletteType));
1824+ if (!DGuiApplicationHelper::testAttribute (DGuiApplicationHelper::DontSaveApplicationTheme))
1825+ _d_dconfig->setThemeType (static_cast <int >(paletteType));
18251826}
18261827
18271828/* !
Original file line number Diff line number Diff line change 11/* *
22 * This file is generated by dconfig2cpp.
33 * Command line arguments: ./build5/tools/dconfig2cpp/dconfig2cpp -c OrgDeepinDTKPreference /usr/share/dsg/configs/org.deepin.dtk.preference.json
4- * Generation time: 2025-05-06T19:45:14
4+ * Generation time: 2025-05-08T17:31:56
55 * JSON file version: 1.0
66 *
77 * WARNING: DO NOT MODIFY THIS FILE MANUALLY.
@@ -711,7 +711,7 @@ class OrgDeepinDTKPreference : public QObject {
711711 if (on)
712712 m_propertySetStatus0.fetchAndOrOrdered (1 << (index - 0 ));
713713 else
714- m_propertySetStatus0.fetchAndAndOrdered (1 << (index - 0 ));
714+ m_propertySetStatus0.fetchAndAndOrdered (~( 1 << (index - 0 ) ));
715715 return ;
716716 }
717717 Q_UNREACHABLE ();
You can’t perform that action at this time.
0 commit comments