diff options
| author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 09:33:59 +0100 |
|---|---|---|
| committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2012-01-19 09:33:59 +0100 |
| commit | a70aee42891087427694af4b6b2ef6fc251630f6 (patch) | |
| tree | 0748ca3472b4013f86d196812f984290f5ac401c /wizard.cpp | |
| parent | updated TODO (diff) | |
| download | gpg4usb-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
Diffstat (limited to 'wizard.cpp')
| -rw-r--r-- | wizard.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |
