diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-02-19 15:20:34 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-02-19 15:20:34 +0000 |
commit | 7d401422ab07f6b3ca8de21b495a19d7bcfbbc83 (patch) | |
tree | 2b0c476c34f90835e3b78145aab9007611f71dc1 /mainwindow.cpp | |
parent | disable appropraite actiosn, when no tab is shown (but actions are only disab... (diff) | |
download | gpg4usb-7d401422ab07f6b3ca8de21b495a19d7bcfbbc83.tar.gz gpg4usb-7d401422ab07f6b3ca8de21b495a19d7bcfbbc83.zip |
little cleanup
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@811 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 7594864..47efc3a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -26,8 +26,6 @@ MainWindow::MainWindow() mCtx = new GpgME::GpgContext(); /* get path were app was started */ - QString appPath = qApp->applicationDirPath(); - setCorner(Qt::BottomLeftCorner, Qt::LeftDockWidgetArea); setCorner(Qt::BottomRightCorner, Qt::RightDockWidgetArea); @@ -54,6 +52,7 @@ MainWindow::MainWindow() createDockWindows(); connect(edit->tabWidget,SIGNAL(currentChanged(int)),this,SLOT(disableTabActions(int))); + mKeyList->addMenuAction(appendSelectedKeysAct); mKeyList->addMenuAction(copyMailAddressToClipboardAct); mKeyList->addMenuAction(showKeyDetailsAct); @@ -75,8 +74,6 @@ MainWindow::MainWindow() // Show wizard, if the don't show wizard message box wasn't checked // and keylist doesn't contain a private key QSettings settings; - //if (settings.value("wizard/showWizard",true).toBool() && !mKeyList->containsPrivateKeys()) { - if (settings.value("wizard/showWizard",true).toBool() || !settings.value("wizard/nextPage").isNull()) { startWizard(); } @@ -599,7 +596,6 @@ void MainWindow::closeAttachmentDock() { void MainWindow::closeEvent(QCloseEvent *event) { - /* * ask to save changes, if there are * modified documents in any tab |