diff options
author | Ken Moore <moorekou@gmail.com> | 2015-10-28 11:05:24 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2015-10-28 11:05:24 -0400 |
commit | ea1c6d45823e57a849fb49dce6ad17507bbb39ab (patch) | |
tree | d0b807389544d38be87f8160022139eea4caf7ad /lumina-desktop/LSession.cpp | |
parent | Forcible remove the "tabBarAutoHide" property from the MainUI.ui file (5.4+ v... (diff) | |
download | lumina-ea1c6d45823e57a849fb49dce6ad17507bbb39ab.tar.gz lumina-ea1c6d45823e57a849fb49dce6ad17507bbb39ab.tar.bz2 lumina-ea1c6d45823e57a849fb49dce6ad17507bbb39ab.zip |
Make the symlink icon overlays a bit smaller (1/3 icon size, not 1/2 anymore), and ensure the 0.8.7-Release upgrade rules are not triggered for update to 0.8.8+
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r-- | lumina-desktop/LSession.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index d0e4c6e0..2190d445 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -372,6 +372,7 @@ void LSession::checkUserFiles(){ // [1.0.0 -> 1000000], [1.2.3 -> 1002003], [0.6.1 -> 6001] QString OVS = sessionsettings->value("DesktopVersion","0").toString(); //Old Version String int oldversion = VersionStringToNumber(OVS); + int nversion = VersionStringToNumber(this->applicationVersion()); bool newversion = ( oldversion < VersionStringToNumber(this->applicationVersion()) ); //increasing version number bool newrelease = ( OVS.contains("-devel", Qt::CaseInsensitive) && this->applicationVersion().contains("-release", Qt::CaseInsensitive) ); //Moving from devel to release @@ -388,7 +389,7 @@ void LSession::checkUserFiles(){ LUtils::upgradeFavorites(oldversion); } //Convert any "userbutton" and "appmenu" panel plugins to the new "systemstart" plugin (0.8.7) - if(oldversion <= 8007 && (newversion || newrelease)){ + if(oldversion <= 8007 && (newversion || newrelease) && nversion < 8008){ QSettings dset(QSettings::UserScope, "LuminaDE","desktopsettings", this); QStringList plugKeys = dset.allKeys().filter("panel").filter("/pluginlist"); for(int i=0; i<plugKeys.length(); i++){ |