aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2009-09-19 21:25:15 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2009-09-19 21:25:15 +0000
commitf846f109ef148db137e4c25b4bd38ff55f2e2199 (patch)
tree8d75797846559fc97e9e48dee207ee3c18203064
parentalways find path to translation (diff)
downloadgpg4usb-f846f109ef148db137e4c25b4bd38ff55f2e2199.tar.gz
gpg4usb-f846f109ef148db137e4c25b4bd38ff55f2e2199.zip
commented out delete-selected-keys action outside keymanagement
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@221 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to '')
-rw-r--r--gpgwin.cpp10
-rw-r--r--gpgwin.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/gpgwin.cpp b/gpgwin.cpp
index 203f574..07a6dce 100644
--- a/gpgwin.cpp
+++ b/gpgwin.cpp
@@ -55,7 +55,7 @@ GpgWin::GpgWin()
setIconSize(QSize(32, 32));
setCurrentFile("");
- mKeyList->addMenuAction(deleteSelectedKeysAct);
+ //mKeyList->addMenuAction(deleteSelectedKeysAct);
mKeyList->addMenuAction(appendSelectedKeysAct);
}
@@ -175,9 +175,9 @@ void GpgWin::createActions()
/** Popup-Menu-Action for KeyList
*/
- deleteSelectedKeysAct = new QAction(tr("Delete Selected Key(s)"), this);
+ /*deleteSelectedKeysAct = new QAction(tr("Delete Selected Key(s)"), this);
deleteSelectedKeysAct->setToolTip(tr("Delete The Selected Keys"));
- connect(deleteSelectedKeysAct, SIGNAL(triggered()), this, SLOT(deleteSelectedKeys()));
+ connect(deleteSelectedKeysAct, SIGNAL(triggered()), this, SLOT(deleteSelectedKeys()));*/
appendSelectedKeysAct = new QAction(tr("Append Selected Key(s) To Text"), this);
appendSelectedKeysAct->setToolTip(tr("Append The Selected Keys To Text in Editor"));
@@ -516,10 +516,10 @@ void GpgWin::importKeyDialog()
/**
* Delete a selected (not checked!) Key(s) from keylist
*/
-void GpgWin::deleteSelectedKeys()
+/*void GpgWin::deleteSelectedKeys()
{
mCtx->deleteKeys(mKeyList->getSelected());
-}
+}*/
/**
* Append the selected (not checked!) Key(s) To Textedit
diff --git a/gpgwin.h b/gpgwin.h
index fe8b314..db1bb2a 100644
--- a/gpgwin.h
+++ b/gpgwin.h
@@ -63,7 +63,7 @@ public slots:
void importKeyFromEdit();
void importKeyFromClipboard();
void importKeyDialog();
- void deleteSelectedKeys();
+ //void deleteSelectedKeys();
void appendSelectedKeys();
void openKeyManagement();
void print();
@@ -109,7 +109,7 @@ private:
QAction *importKeyFromFileAct;
QAction *importKeyFromEditAct;
QAction *importKeyFromClipboardAct;
- QAction *deleteSelectedKeysAct;
+ //QAction *deleteSelectedKeysAct;
QAction *appendSelectedKeysAct;
QAction *openKeyManagementAct;
QAction *copyAct;