aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/core/lumina-desktop/LDesktopPluginSpace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h
index 5ef51930..92226680 100644
--- a/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h
+++ b/src-qt5/core/lumina-desktop/LDesktopPluginSpace.h
@@ -175,7 +175,7 @@ private slots:
for(int i=0; i<ITEMS.length(); i++){
if(ITEMS[i]->whatsThis()==ID){
ITEMS[i]->Cleanup();
- delete ITEMS.takeAt(i);
+ ITEMS.takeAt(i)->deleteLater();
break;
}
}
@@ -289,4 +289,4 @@ protected:
};
-#endif \ No newline at end of file
+#endif
bgstack15