diff options
author | Ken Moore <ken@pcbsd.org> | 2015-06-10 09:32:06 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-06-10 09:32:06 -0400 |
commit | af502cd6000b6dc5ce9f48baabed4defc8499fc4 (patch) | |
tree | 72558491aa4a3166ac1fa3828a70263927e61b60 /lumina-desktop/LSession.cpp | |
parent | Adjust how the CPU/Temperature monitoring functions work on FreeBSD/PC-BSD. N... (diff) | |
parent | A couple quick adjustments to the LSession: (diff) | |
download | lumina-af502cd6000b6dc5ce9f48baabed4defc8499fc4.tar.gz lumina-af502cd6000b6dc5ce9f48baabed4defc8499fc4.tar.bz2 lumina-af502cd6000b6dc5ce9f48baabed4defc8499fc4.zip |
Merge branch 'master' of github.com:pcbsd/lumina
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r-- | lumina-desktop/LSession.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index b61e32af..9a292438 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -406,7 +406,9 @@ void LSession::checkUserFiles(){ //Save the current version of the session to the settings file (for next time) - sessionsettings->setValue("DesktopVersion", this->applicationVersion()); + if(newversion || newrelease){ + sessionsettings->setValue("DesktopVersion", this->applicationVersion()); + } } void LSession::refreshWindowManager(){ @@ -449,7 +451,7 @@ void LSession::updateDesktops(){ //QTimer::singleShot(0,DESKTOPS[i], SLOT(checkResolution())); } } - WM->restartWM(); //Make sure fluxbox also gets prompted to re-load screen config + QTimer::singleShot(1000,WM, SLOT(restartWM())); //Make sure fluxbox also gets prompted to re-load screen config } //Make sure all the background windows are registered on the system as virtual roots QTimer::singleShot(100,this, SLOT(registerDesktopWindows())); |