diff options
author | Ken Moore <ken@pcbsd.org> | 2015-04-30 11:08:02 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-04-30 11:08:02 -0400 |
commit | 99450d5ba03e1f5accd2f4057f2fba0590295054 (patch) | |
tree | c258d6df282d982d5cda5446fe85b9d98fe3c5d9 /lumina-desktop/LSession.cpp | |
parent | Update README.md (diff) | |
download | lumina-99450d5ba03e1f5accd2f4057f2fba0590295054.tar.gz lumina-99450d5ba03e1f5accd2f4057f2fba0590295054.tar.bz2 lumina-99450d5ba03e1f5accd2f4057f2fba0590295054.zip |
Fix/Fix a couple important bugs before announcing 0.8.4-release:
1) Desktop plugins are not getting removed.
- This appears to be a bug in Qt 5.4.1 from what I can tell (any window buttons in the QMdiSubWindow are non-responsive), but for the moment the user can right-click on the plugin titlebar and select "close" from the menu for the same effect. I have fixed a couple edge cases/situations where forcibly closing/removing a desktop plugin will crash the session (it behaves properly in all situations now from my testing).
2) Disable the panel location limitations in lumina-config since with the new lenght settings it is possible to place panels in any location now (such as two panels on the top - one pinned left and the other pinned right).
3) Fix up the desktop plugin area calculations so they properly handle panels in any configuration.
4) If the desktop area was re-configured, go through and adjust the location/sizing of any desktop plugins (to ensure that they are all within the available space - use the grid alignment procedure).
Diffstat (limited to 'lumina-desktop/LSession.cpp')
-rw-r--r-- | lumina-desktop/LSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/LSession.cpp b/lumina-desktop/LSession.cpp index 59df5c44..17434181 100644 --- a/lumina-desktop/LSession.cpp +++ b/lumina-desktop/LSession.cpp @@ -322,7 +322,7 @@ void LSession::checkUserFiles(){ QString OVS = sessionsettings->value("DesktopVersion","0").toString(); //Old Version String int oldversion = VersionStringToNumber(OVS); bool newversion = ( oldversion < VersionStringToNumber(this->applicationVersion()) ); //increasing version number - bool newrelease = ( OVS.endsWith("-devel", Qt::CaseInsensitive) && this->applicationVersion().endsWith("-release", Qt::CaseInsensitive) ); //Moving from devel to release + bool newrelease = ( OVS.contains("-devel", Qt::CaseInsensitive) && this->applicationVersion().contains("-release", Qt::CaseInsensitive) ); //Moving from devel to release //Check for the desktop settings file QString dset = QDir::homePath()+"/.lumina/LuminaDE/desktopsettings.conf"; |