aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-19 00:24:54 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-19 00:24:54 +0000
commit4050ae65458d11d40741816df02faa0caf6659e5 (patch)
tree66c06c161cf652ceeb04303bb03953f568863a76
parentsimplified gnupg import page in wizard and some minor beautifying (diff)
downloadgpg4usb-4050ae65458d11d40741816df02faa0caf6659e5.tar.gz
gpg4usb-4050ae65458d11d40741816df02faa0caf6659e5.zip
start wizard at import from gnupg page after restart after conf import from old gpg4usb
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@759 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--TODO1
-rw-r--r--wizard.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/TODO b/TODO
index 60b52d8..83822a6 100644
--- a/TODO
+++ b/TODO
@@ -29,6 +29,7 @@ Release 0.3.2
- only show one import detail dialog, when importing public/private keys
- always activate next button
- nextid is not called when clicking finish button
+ - add page for succesful import of settings from old gpg4usb (?)
- BUG: cancel decryption on windows hangs programm -> possibly bug in gpgme [DONE]
- option in settingsdialog for enabling steganographic operations [DONE]
- minimal steganography option: remove or add pgp-headers on demand [DONE]
diff --git a/wizard.cpp b/wizard.cpp
index 3ef5808..557902c 100644
--- a/wizard.cpp
+++ b/wizard.cpp
@@ -45,8 +45,8 @@ Wizard::Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent)
setPixmap(QWizard::BannerPixmap, QPixmap(":/banner.png"));
QSettings settings;
- setStartId(settings.value("wizard/page", -1).toInt());
- settings.remove("wizard/page");
+ setStartId(settings.value("wizard/nextPage", -1).toInt());
+ settings.remove("wizard/nextPage");
connect(this, SIGNAL(accepted()), this, SLOT(wizardAccepted()));