aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop/LSession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-desktop/LSession.cpp')
-rw-r--r--src-qt5/core/lumina-desktop/LSession.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/core/lumina-desktop/LSession.cpp b/src-qt5/core/lumina-desktop/LSession.cpp
index 434bfd2d..9a985b3f 100644
--- a/src-qt5/core/lumina-desktop/LSession.cpp
+++ b/src-qt5/core/lumina-desktop/LSession.cpp
@@ -70,11 +70,11 @@ LSession::~LSession(){
if(this->isPrimaryProcess()){
//WM->stopWM();
for(int i=0; i<DESKTOPS.length(); i++){
- delete DESKTOPS[i];
+ DESKTOPS[i]->deleteLater();
}
//delete WM;
- delete settingsmenu;
- delete appmenu;
+ settingsmenu->deleteLater();
+ appmenu->deleteLater();
delete currTranslator;
if(mediaObj!=0){delete mediaObj;}
}
@@ -207,7 +207,7 @@ void LSession::CleanupSession(){
}
evFilter->StopEventHandling();
//Stop the window manager
- qDebug() << " - Stopping the window manager";
+ //qDebug() << " - Stopping the window manager";
//WM->stopWM();
//Now close down the desktop
qDebug() << " - Closing down the desktop elements";
bgstack15