diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-06-09 23:26:12 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2015-06-09 23:26:12 +0200 |
commit | 0842060d6b43b1e473a43732af7bab816de354c8 (patch) | |
tree | 79c82d4dcd6a8d780e939ac05b9cdd6fbfcd5865 | |
parent | 4f6be82d7ed9fbfdf57c02639f99cd1d5a5a7467 (diff) |
store should _not_ be empty
-rw-r--r-- | dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -193,7 +193,7 @@ void Dialog::on_toolButtonGit_clicked() void Dialog::on_toolButtonGpg_clicked() { QString gpg = selectExecutable(); - if (gpg != "") { + if (!gpg.isEmpty()) { ui->gpgPath->setText(gpg); } } @@ -204,7 +204,7 @@ void Dialog::on_toolButtonGpg_clicked() void Dialog::on_toolButtonPass_clicked() { QString pass = selectExecutable(); - if (pass != "") { + if (!pass.isEmpty()) { ui->passPath->setText(pass); } } @@ -215,7 +215,7 @@ void Dialog::on_toolButtonPass_clicked() void Dialog::on_toolButtonStore_clicked() { QString store = selectFolder(); - if (store.isEmpty()) { // TODO call check + if (!store.isEmpty()) { // TODO call check ui->storePath->setText(store); } } |