diff options
author | Ken Moore <moorekou@gmail.com> | 2016-02-18 07:42:57 -0500 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-02-18 07:42:57 -0500 |
commit | 42ab2f95f82522085fdc4ffc8bad1fb182b5ec9c (patch) | |
tree | a376ecf43921aea37b548ded5844cae84a156f02 /lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp | |
parent | Fix the "amixer" command used to set the volume in the generic "Linux" suppor... (diff) | |
download | lumina-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/LTaskManagerPlugin.cpp')
-rw-r--r-- | lumina-desktop/panel-plugins/taskmanager/LTaskManagerPlugin.cpp | 2 |
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 |