diff options
| author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-31 00:04:42 +0100 |
|---|---|---|
| committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-10-31 00:04:42 +0100 |
| commit | 22471b148d8877c3fd721c443792ad1e721d00f9 (patch) | |
| tree | 62c683edf0e9f9b900d7a27bc6f66e4af3ae1596 /mainwindow.cpp | |
| parent | cleaned up (diff) | |
| download | gpg4usb-22471b148d8877c3fd721c443792ad1e721d00f9.tar.gz gpg4usb-22471b148d8877c3fd721c443792ad1e721d00f9.zip | |
added first idea of wizard
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@591 34ebc366-c3a9-4b3c-9f84-69acf7962910
Diffstat (limited to 'mainwindow.cpp')
| -rw-r--r-- | mainwindow.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index dd7c63e..38efe2b 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -71,6 +71,16 @@ MainWindow::MainWindow() } edit->curTextPage()->setFocus(); this->setWindowTitle(qApp->applicationName()); + this->show(); + + // Show wizard, if the don't show wizard message box wasn't checked + // and keylist doesn't contain a private key + QSettings settings; + // if (settings.value("wizard/showWizard",true).toBool() && !mKeyList->containsPrivateKeys()) { + Wizard *wizard = new Wizard(mCtx,this); + wizard->show(); + wizard->setModal(true); + //} } void MainWindow::restoreSettings() |
