From dd31e6407bfc1349453920b36e83aa709dcaca27 Mon Sep 17 00:00:00 2001 From: nils Date: Mon, 26 Dec 2011 23:19:47 +0000 Subject: show importdetaildialog in all places git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@704 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mainwindow.cpp') diff --git a/mainwindow.cpp b/mainwindow.cpp index 7dbfbc5..d8f78c4 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -632,7 +632,7 @@ void MainWindow::openHelp() { void MainWindow::startWizard() { - Wizard *wizard = new Wizard(mCtx,this); + Wizard *wizard = new Wizard(mCtx,keyMgmt,this); wizard->show(); wizard->setModal(true); } @@ -704,7 +704,7 @@ void MainWindow::importKeyFromEdit() return; } - mCtx->importKey(edit->curTextPage()->toPlainText().toAscii()); + keyMgmt->importKeys(edit->curTextPage()->toPlainText().toAscii()); } void MainWindow::openKeyManagement() -- cgit v1.2.3