From issue #3446: remove the "Use system theme" option + slight rework
of the Preferences general panel.
This commit is contained in:
@@ -373,7 +373,6 @@ void Options::setDefaults ()
|
||||
lastSaveAsPath = "";
|
||||
overwriteOutputFile = false; // if TRUE, existing output JPGs/PNGs are overwritten, instead of adding ..-1.jpg, -2.jpg etc.
|
||||
theme = "RawTherapee";
|
||||
useSystemTheme = false;
|
||||
maxThumbnailHeight = 250;
|
||||
maxCacheEntries = 20000;
|
||||
thumbInterp = 1;
|
||||
@@ -791,10 +790,6 @@ int Options::readFromFile (Glib::ustring fname)
|
||||
theme = keyFile.get_string ("General", "Theme");
|
||||
}
|
||||
|
||||
if (keyFile.has_key ("General", "UseSystemTheme")) {
|
||||
useSystemTheme = keyFile.get_boolean ("General", "UseSystemTheme");
|
||||
}
|
||||
|
||||
if ( keyFile.has_key ("General", "DarkFramesPath")) {
|
||||
rtSettings.darkFramesPath = keyFile.get_string ("General", "DarkFramesPath");
|
||||
}
|
||||
@@ -1836,7 +1831,6 @@ int Options::saveToFile (Glib::ustring fname)
|
||||
keyFile.set_string ("General", "Language", language);
|
||||
keyFile.set_boolean ("General", "LanguageAutoDetect", languageAutoDetect);
|
||||
keyFile.set_string ("General", "Theme", theme);
|
||||
keyFile.set_boolean ("General", "UseSystemTheme", useSystemTheme);
|
||||
keyFile.set_string ("General", "Version", VERSION);
|
||||
keyFile.set_string ("General", "DarkFramesPath", rtSettings.darkFramesPath);
|
||||
keyFile.set_string ("General", "FlatFieldsPath", rtSettings.flatFieldsPath);
|
||||
|
Reference in New Issue
Block a user