diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-07-08 22:39:36 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-07-08 22:39:36 +0200 |
commit | 268ec9d3d93f5b5d4591c47f882e285e7eaec4de (patch) | |
tree | 941796efca576e2b80fb6a45ff606d3efc3f100a | |
parent | d5ab28e09634c54e8319609716bb8b0e99855e9c (diff) |
also do clipboard/hide on error https://github.com/IJHack/qtpass/issues/60v0.8.5.1
-rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 1a92de62..be1bef3c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -517,7 +517,7 @@ void MainWindow::readyRead(bool finished = false) { output = process->readAllStandardOutput(); if (finished && currentAction == GPG) { lastDecrypt = output; - if (useClipboard) { // && error.size() == 0 + if (useClipboard) { QClipboard *clip = QApplication::clipboard(); QStringList tokens = output.split("\n"); clip->setText(tokens[0]); |