From 7d401422ab07f6b3ca8de21b495a19d7bcfbbc83 Mon Sep 17 00:00:00 2001 From: nils Date: Sun, 19 Feb 2012 15:20:34 +0000 Subject: little cleanup git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@811 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- mainwindow.cpp | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3