From 6f713fcb9999071d1e16d221bda6db5708e18666 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 7 Nov 2015 22:48:06 +0200 Subject: maintab.cpp: remove unused variable Signed-off-by: Lubomir I. Ivanov --- desktop-widgets/maintab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3-70-g09d2