From ccda0323fdf150a70c619c5782fee3ff7c6e08c9 Mon Sep 17 00:00:00 2001 From: Anne Jan Brouwer Date: Thu, 11 Jun 2015 00:29:20 +0200 Subject: fixes after static analysis --- dialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dialog.cpp') diff --git a/dialog.cpp b/dialog.cpp index 4b7de9a7..721840ed 100644 --- a/dialog.cpp +++ b/dialog.cpp @@ -510,7 +510,9 @@ void Dialog::wizard() //qDebug() << names; if (QFile(gpg).exists() && names.empty()) { KeygenDialog d(this); - d.exec(); + if (!d.exec()) { + return; + } } QString passStore = ui->storePath->text(); -- cgit v1.2.3