diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2015-07-08 22:39:36 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2015-07-08 22:39:36 +0200 |
commit | 2bec0fa72ba843725d4e9d4239262aeeccbad54b (patch) | |
tree | 941796efca576e2b80fb6a45ff606d3efc3f100a | |
parent | 6098b03874d2e7bd9abee25d4fd78960c60436f5 (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 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]); |