From eb6d5415c1eefcdba184a7939075f114d086a37e Mon Sep 17 00:00:00 2001 From: Guido Lerch Date: Tue, 20 Oct 2015 21:07:43 +0200 Subject: Context menu for images: remove obsolete code Signed-off-by: Guido Lerch Signed-off-by: Dirk Hohndel --- desktop-widgets/maintab.cpp | 7 ------- 1 file changed, 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); -- cgit v1.2.3-70-g09d2