diff options
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r-- | src-qt5/core/lumina-desktop/LSession.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp index 97f74e66..ebd40030 100644 --- a/src-qt5/core/lumina-desktop/LSession.cpp +++ b/src-qt5/core/lumina-desktop/LSession.cpp @@ -415,8 +415,7 @@ void LSession::updateDesktops(){ QString oldname; for(int i=0; i<old.length(); i++){ QString tmp = old[i].section("/",0,0).section("-",1,-1); //old desktop ID - if(tmp=="default"){ continue; } //always skip this one - else if(lastused.contains(tmp)){ + if(lastused.contains(tmp)){ oldname = tmp; break; //use the first screen that was last used } } |