aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/taskmanager
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-02-18 07:42:57 -0500
committerKen Moore <moorekou@gmail.com>2016-02-18 07:42:57 -0500
commit42ab2f95f82522085fdc4ffc8bad1fb182b5ec9c (patch)
treea376ecf43921aea37b548ded5844cae84a156f02 /lumina-desktop/panel-plugins/taskmanager
parentFix the "amixer" command used to set the volume in the generic "Linux" suppor... (diff)
downloadlumina-42ab2f95f82522085fdc4ffc8bad1fb182b5ec9c.tar.gz
lumina-42ab2f95f82522085fdc4ffc8bad1fb182b5ec9c.tar.bz2
lumina-42ab2f95f82522085fdc4ffc8bad1fb182b5ec9c.zip
Find/switch a bunch of other "delete" calls on QWidgets to the Qt deleteLater() function instead. This seems to fix the start menu category change crash with Qt 5.5.1
Diffstat (limited to 'lumina-desktop/panel-plugins/taskmanager')
-rw-r--r--lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp b/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp
index be3e665a..3e31a534 100644
--- a/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp
+++ b/lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp
@@ -57,7 +57,7 @@ void LTaskManagerPlugin::UpdateButtons(){
//Remove the entire button
//qDebug() << "Window Closed: Remove Button" ;
this->layout()->takeAt(i); //remove from the layout
- delete BUTTONS.takeAt(i);
+ BUTTONS.takeAt(i)->deleteLater();
i--;
updated = true; //prevent updating a removed button
break; //break out of the button->window loop
bgstack15