summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-05-17 13:36:40 +0200
committerMontel Laurent <[email protected]>2017-05-17 13:36:40 +0200
commitfb52fcc66931adb2ecd76ec32dc8b396b3368e39 (patch)
tree81993f2c13057f5bbdb7832c30c22ff01a313711
parent9f1af53300c7b0ae5aeb6e434171a622a0cd9335 (diff)
Finally it's a regression in kxmgui
Revert "Try to fix crash reported by Luca Beltrame on irc." This reverts commit 51c0eb2c94478b70efaa3a84adeb4e86e816af13.
-rw-r--r--src/kmmainwidget.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/kmmainwidget.cpp b/src/kmmainwidget.cpp
index fac2e98..42ad762 100644
--- a/src/kmmainwidget.cpp
+++ b/src/kmmainwidget.cpp
@@ -4144,10 +4144,7 @@ void KMMainWidget::clearFilterActions()
actionCollection()->removeAction(a);
}
- QMenu *actMenu = mApplyFilterActionsMenu->menu();
- if (actMenu) {
- actMenu->clear();
- }
+ mApplyFilterActionsMenu->menu()->clear();
mFilterTBarActions.clear();
mFilterMenuActions.clear();