diff options
author | Ken Moore <ken@ixsystems.com> | 2017-09-21 16:13:28 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-09-21 16:13:28 -0400 |
commit | bf91a7abadbb6b285dc955393633325928903bf6 (patch) | |
tree | ac6a728d10881ee6420ae419266e8506b4848623 /src-qt5/core/lumina-desktop/LSession.cpp | |
parent | Quick fix to ensure the status checkUserFiles function truly is static (diff) | |
download | lumina-bf91a7abadbb6b285dc955393633325928903bf6.tar.gz lumina-bf91a7abadbb6b285dc955393633325928903bf6.tar.bz2 lumina-bf91a7abadbb6b285dc955393633325928903bf6.zip |
Urg - more fixes...
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 99b20194..d1d6588e 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -389,6 +389,9 @@ void LSession::checkUserFiles(){ // [1.0.0 -> 1000000], [1.2.3 -> 1002003], [0.6.1 -> 6001] QSettings sset("lumina-desktop", "sessionsettings"); QString OVS = sset.value("DesktopVersion","0").toString(); //Old Version String + char *tmp; + int tmpN = 0; + QApplication A(tmpN, &tmp); bool changed = LDesktopUtils::checkUserFiles(OVS, LDesktopUtils::LuminaDesktopVersion()); if(changed){ //Save the current version of the session to the settings file (for next time) |