aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LSession.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-09-21 15:23:09 -0400
committerKen Moore <ken@ixsystems.com>2017-09-21 15:23:09 -0400
commitca75f41432756e1a2796c046787474514277012e (patch)
treecf626aeb12a3f714675e8bee1bdc3cba53dc96d6 /src-qt5/core/lumina-desktop/LSession.cpp
parentMake sure we don't run the checkUserFiles() function a second time (diff)
downloadlumina-ca75f41432756e1a2796c046787474514277012e.tar.gz
lumina-ca75f41432756e1a2796c046787474514277012e.tar.bz2
lumina-ca75f41432756e1a2796c046787474514277012e.zip
Oops - need to make sure that status function does not access any global QApplication instance.
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/LSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp
index feb3c95c..99b20194 100644
--- a/src-qt5/core/lumina-desktop/LSession.cpp
+++ b/src-qt5/core/lumina-desktop/LSession.cpp
@@ -389,7 +389,7 @@ 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
- bool changed = LDesktopUtils::checkUserFiles(OVS);
+ bool changed = LDesktopUtils::checkUserFiles(OVS, LDesktopUtils::LuminaDesktopVersion());
if(changed){
//Save the current version of the session to the settings file (for next time)
sset.setValue("DesktopVersion", LDesktopUtils::LuminaDesktopVersion());
bgstack15