diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-05-19 00:09:24 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-05-19 00:09:24 +0200 |
commit | 8251873693a0bb7b38374990c6766c152f0626d1 (patch) | |
tree | e93ac9c3cda60f08b45068b46e3b0e3a74e08c17 /dialog.cpp | |
parent | ad44f5a9e8021e2688c074ea43f123d41e229def (diff) |
start of streamlined wizard
Diffstat (limited to 'dialog.cpp')
-rw-r--r-- | dialog.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,7 @@ #include "dialog.h" #include "ui_dialog.h" +#include <QDebug> +#include <QMessageBox> /** * @brief Dialog::Dialog @@ -348,3 +350,16 @@ void Dialog::addGPGId(bool addGPGId) { ui->checkBoxAddGPGId->setChecked(addGPGId); } + +void Dialog::wizard() +{ + // got GPG at-least ? + // TODO ^^ + + QString passStore = ui->storePath->text(); + if(!QFile(passStore + ".gpg-id").exists()){ + QMessageBox::critical(this, tr("Password store not initialised"), + tr("The folder %1 doesn't seem to be a password store or is not yet initialised.").arg(passStore)); + } + // TODO REST + } |