summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index e0425fb..8912295 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -738,9 +738,14 @@ void SheMov::createActions(){
/* picView(er) END Actions! */
// ArchiveView actions
+ // rename
mArchiveViewRenameA = new QAction(tr("Rename..."), this);
connect(mArchiveViewRenameA, SIGNAL(triggered()), mArchive->archiveTree(), SLOT(rename()));
mArchive->archiveTree()->addAction(mArchiveViewRenameA);
+ // remove
+ mArchiveViewRemoveA = new QAction(tr("Remove..."), this);
+ connect(mArchiveViewRemoveA, SIGNAL(triggered()), mArchive->archiveTree(), SLOT(remove()));
+ mArchive->archiveTree()->addAction(mArchiveViewRemoveA);
//don't add actions with checkable(true) unless you know what you're doing!
mPicActionGroup = new QActionGroup(this);