aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-07-07 08:42:27 -0400
committerKen Moore <moorekou@gmail.com>2016-07-07 08:42:27 -0400
commite3ef29e5f76ad9acd288d78255c4288b62ac6f48 (patch)
treedcfa2ad7d39ee0f434c51561b278396ec0a5f960 /src-qt5/core
parentRemove the "requires restart" message on the Compton page. Active re-loading ... (diff)
downloadlumina-e3ef29e5f76ad9acd288d78255c4288b62ac6f48.tar.gz
lumina-e3ef29e5f76ad9acd288d78255c4288b62ac6f48.tar.bz2
lumina-e3ef29e5f76ad9acd288d78255c4288b62ac6f48.zip
Fix a crash when right-clicking a non-applauncher desktop plugin and removing it.
Diffstat (limited to 'src-qt5/core')
-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