diff options
author | Ken Moore <ken@ixsystems.com> | 2017-09-21 15:10:03 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-09-21 15:10:03 -0400 |
commit | 3f9e6a1de6bcc9b35f88c0216cb7d50d0241b119 (patch) | |
tree | 56e2646b7d044bbf28c805380b449045ee190cac /src-qt5/core/lumina-desktop/LSession.cpp | |
parent | Fix up the application of theme settings from the system config file. (diff) | |
download | lumina-3f9e6a1de6bcc9b35f88c0216cb7d50d0241b119.tar.gz lumina-3f9e6a1de6bcc9b35f88c0216cb7d50d0241b119.tar.bz2 lumina-3f9e6a1de6bcc9b35f88c0216cb7d50d0241b119.zip |
Fix up the loading of the theme settings before the session is started in Lumina 1, and also fix the pkg plist so it includes the qss files.
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 2a1ec783..44f657c0 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -387,11 +387,12 @@ void LSession::checkWindowGeoms(){ void LSession::checkUserFiles(){ //internal version conversion examples: // [1.0.0 -> 1000000], [1.2.3 -> 1002003], [0.6.1 -> 6001] - QString OVS = sessionsettings->value("DesktopVersion","0").toString(); //Old Version String + QSettings sset("lumina-desktop", "sessionsettings"); + QString OVS = sset.value("DesktopVersion","0").toString(); //Old Version String bool changed = LDesktopUtils::checkUserFiles(OVS); if(changed){ //Save the current version of the session to the settings file (for next time) - sessionsettings->setValue("DesktopVersion", this->applicationVersion()); + sset.setValue("DesktopVersion", LDesktopUtils::LuminaDesktopVersion()); } } |