diff options
author | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-04-14 17:47:56 +0000 |
---|---|---|
committer | nils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2010-04-14 17:47:56 +0000 |
commit | e2316350cac716ab592074c8358400a5aba7eefc (patch) | |
tree | 741863cac6a2edccfaa77416b804eab63c1f7ee9 | |
parent | fixed badass a bug and updates README.build (diff) | |
download | gpg4usb-e2316350cac716ab592074c8358400a5aba7eefc.tar.gz gpg4usb-e2316350cac716ab592074c8358400a5aba7eefc.zip |
fixed bug, that text cant be written after decrypt
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@305 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rw-r--r-- | context.cpp | 2 | ||||
-rw-r--r-- | gpgwin.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/context.cpp b/context.cpp index c7f6c63..9cf06a9 100644 --- a/context.cpp +++ b/context.cpp @@ -391,7 +391,7 @@ gpgme_error_t Context::passphrase(const char *uid_hint, if (m_cache.isEmpty()) { QString password = QInputDialog::getText(0, "Enter Password", s, QLineEdit::Password, - "", &result); + "", &result, Qt::Window); if (result) m_cache = password.toAscii(); } else @@ -451,7 +451,6 @@ void GpgWin::encrypt() QString *tmp2 = new QString(*tmp); edit->setPlainText(*tmp2); } - } void GpgWin::decrypt() |