diff options
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() |