]> sigrok.org Git - pulseview.git/blobdiff - pv/globalsettings.cpp
Implement hidable rows
[pulseview.git] / pv / globalsettings.cpp
index b648d5da4e6d1fe388eb69052272dd3044edd0ae..4b7936565625157ac4cfb420efe85c856bba46e8 100644 (file)
@@ -68,13 +68,13 @@ const QString GlobalSettings::Key_Log_NotifyOfStacktrace = "Log_NotifyOfStacktra
 
 vector<GlobalSettingsInterface*> GlobalSettings::callbacks_;
 bool GlobalSettings::tracking_ = false;
+bool GlobalSettings::is_dark_theme_ = false;
 map<QString, QVariant> GlobalSettings::tracked_changes_;
 QString GlobalSettings::default_style_;
 QPalette GlobalSettings::default_palette_;
 
 GlobalSettings::GlobalSettings() :
-       QSettings(),
-       is_dark_theme_(false)
+       QSettings()
 {
        beginGroup("Settings");
 }