diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-06-09 23:28:02 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2015-06-09 23:28:02 +0200 |
commit | 830fed8fbd762be37c186bfa4733696b7da3d11e (patch) | |
tree | ebeb6a68fc9e495ffeacbb6ab9096ed4e1745d2e | |
parent | a481e70404902106a0356d223ee5e303b775d434 (diff) | |
parent | 0842060d6b43b1e473a43732af7bab816de354c8 (diff) |
Merge branch 'develop' into feature/trayicon
-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); } } |