summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index ac32419..437a38b 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -528,6 +528,10 @@ void SheMov::createActions(){
mPVClearMarksA = new QAction(tr("Clear marks"), this);
connect(mPVClearMarksA, SIGNAL(triggered()), picViewer, SLOT(clearMarks()));
picViewer->addAction(mPVClearMarksA);
+ mPVDeleteA = new QAction(QIcon(":/delete.png"), tr("Delete..."), this);
+ mPVDeleteA->setData(PictureViewer2::DeleteAction);
+ connect(mPVDeleteA, SIGNAL(triggered()), picViewer, SLOT(deleteCurrent()));
+ picViewer->addAction(mPVDeleteA);
picViewer->addAction(createSeparator());
// Slide