aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Guido Lerch <guido.lerch@gmail.com>2015-10-20 21:07:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-03 08:31:41 -0800
commiteb6d5415c1eefcdba184a7939075f114d086a37e (patch)
tree0be3a69f0ddeefb03025e13cfd662958785f973b
parent8ce471c2f537c2e73bbcd514a9b5c2b7ae61813d (diff)
downloadsubsurface-eb6d5415c1eefcdba184a7939075f114d086a37e.tar.gz
Context menu for images: remove obsolete code
Signed-off-by: Guido Lerch <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--desktop-widgets/maintab.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/desktop-widgets/maintab.cpp b/desktop-widgets/maintab.cpp
index 7b4c4b9d1..7642213e1 100644
--- a/desktop-widgets/maintab.cpp
+++ b/desktop-widgets/maintab.cpp
@@ -177,13 +177,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
ui.cylinders->view()->horizontalHeader()->addAction(action);
}
- QAction *deletePhoto = new QAction(this);
- deletePhoto->setShortcut(Qt::Key_Delete);
- deletePhoto->setShortcutContext(Qt::WidgetShortcut);
- ui.photosView->addAction(deletePhoto);
- ui.photosView->setSelectionMode(QAbstractItemView::SingleSelection);
- connect(deletePhoto, SIGNAL(triggered(bool)), this, SLOT(removeSelectedPhotos()));
-
ui.waitingSpinner->setRoundness(70.0);
ui.waitingSpinner->setMinimumTrailOpacity(15.0);
ui.waitingSpinner->setTrailFadePercentage(70.0);