mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:03:24 +00:00
Context menu for images: remove obsolete code
Signed-off-by: Guido Lerch <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8ce471c2f5
commit
eb6d5415c1
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue