summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnne Jan Brouwer <annejan@noprotocol.com>2015-10-22 13:22:53 +0200
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-10-22 13:22:53 +0200
commitb59c93d7893f53298bcc0e1ea6c401ff72436096 (patch)
tree1d64f612ed20bd81a7f3804e5599ca0f15ccc5e9
parent2f8ca8adb9b18b968da56c9ba142108b75fd39ee (diff)
Use 'pass show password' instead of just 'pass password' for showing fixes https://github.com/IJHack/qtpass/issues/105
-rw-r--r--mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp
index 2f45b296..8ed4f301 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -570,7 +570,7 @@ void MainWindow::on_treeView_clicked(const QModelIndex &index)
if (!file.isEmpty()){
currentAction = GPG;
if (usePass) {
- executePass('"' + file + '"');
+ executePass("show \"" + file + '"');
} else {
executeWrapper(gpgExecutable , "-d --quiet --yes --no-encrypt-to --batch --use-agent \"" + file + '"');
}