aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-11-07 22:48:06 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-07 22:26:32 -0800
commit6f713fcb9999071d1e16d221bda6db5708e18666 (patch)
tree1c34407aee61f9df1fbeff96d716715a5d5717d4
parente7cd9d615c7a6b002775bad11f5c43c8130c0c3e (diff)
downloadsubsurface-6f713fcb9999071d1e16d221bda6db5708e18666.tar.gz
maintab.cpp: remove unused variable
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r--desktop-widgets/maintab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/maintab.cpp b/desktop-widgets/maintab.cpp
index 864c24782..c36c69f20 100644
--- a/desktop-widgets/maintab.cpp
+++ b/desktop-widgets/maintab.cpp
@@ -1642,6 +1642,6 @@ void MainTab::contextMenuEvent(QContextMenuEvent *event)
popup.addSeparator();
popup.addAction(tr("Delete selected images"), this, SLOT(removeSelectedPhotos()));
popup.addAction(tr("Delete all images"), this, SLOT(removeAllPhotos()));
- QAction *actionTaken = popup.exec(event->globalPos());
+ popup.exec(event->globalPos());
event->accept();
}