diff options
author | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-07-08 22:30:21 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-07-08 22:30:21 +0200 |
commit | d5ab28e09634c54e8319609716bb8b0e99855e9c (patch) | |
tree | 2510fe35d67c9c6c76098c097d3ebfabe0fea40b | |
parent | 570d0f876480ce52c5424629c7844999ca4fb36b (diff) |
also do clipboard/hide on error https://github.com/IJHack/qtpass/issues/60
-rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index a86eccd2..1a92de62 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) { // && error.size() == 0 QClipboard *clip = QApplication::clipboard(); QStringList tokens = output.split("\n"); clip->setText(tokens[0]); |