From a3b95c1c38044b0bc7b3253754dc7f55b252512e Mon Sep 17 00:00:00 2001 From: Florian Geyer Date: Sun, 1 Dec 2013 10:36:50 +0100 Subject: [PATCH] Remove unnecessary removeAction call in MainWindow. --- src/gui/MainWindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/MainWindow.cpp b/src/gui/MainWindow.cpp index 439bea9b8..cebfcbf49 100644 --- a/src/gui/MainWindow.cpp +++ b/src/gui/MainWindow.cpp @@ -229,7 +229,6 @@ void MainWindow::updateCopyAttributesMenu() actionsToRemove.removeOne(m_ui->actionEntryCopyNotes); Q_FOREACH (QAction* action, actionsToRemove) { - m_ui->menuEntryCopyAttribute->removeAction(action); delete action; }