diff options
author | Ken Moore <moorekou@gmail.com> | 2016-07-07 08:42:27 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-07-07 08:42:27 -0400 |
commit | e3ef29e5f76ad9acd288d78255c4288b62ac6f48 (patch) | |
tree | dcfa2ad7d39ee0f434c51561b278396ec0a5f960 /src-qt5 | |
parent | Remove the "requires restart" message on the Compton page. Active re-loading ... (diff) | |
download | lumina-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')
-rw-r--r-- | src-qt5/core/lumina-desktop/LDesktopPluginSpace.h | 4 |
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 |