From 4050ae65458d11d40741816df02faa0caf6659e5 Mon Sep 17 00:00:00 2001 From: nils Date: Thu, 19 Jan 2012 00:24:54 +0000 Subject: 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 --- wizard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wizard.cpp') 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())); -- cgit v1.2.3