aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-19 08:33:59 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2012-01-19 08:33:59 +0000
commita70aee42891087427694af4b6b2ef6fc251630f6 (patch)
tree0748ca3472b4013f86d196812f984290f5ac401c
parentupdated TODO (diff)
downloadgpg4usb-a70aee42891087427694af4b6b2ef6fc251630f6.tar.gz
gpg4usb-a70aee42891087427694af4b6b2ef6fc251630f6.zip
correct boolean for settings/showWizard
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@762 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r--wizard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/wizard.cpp b/wizard.cpp
index bc163f6..433a201 100644
--- a/wizard.cpp
+++ b/wizard.cpp
@@ -55,7 +55,8 @@ Wizard::Wizard(GpgME::GpgContext *ctx, KeyMgmt *keyMgmt, QWidget *parent)
void Wizard::wizardAccepted() {
qDebug() << "noShow: " << field("showWizard").toBool();
QSettings settings;
- settings.setValue("wizard/showWizard", field("showWizard").toBool());
+ // Don't show is mapped to show -> negation
+ settings.setValue("wizard/showWizard", !field("showWizard").toBool());
}
IntroPage::IntroPage(QWidget *parent)