From e2316350cac716ab592074c8358400a5aba7eefc Mon Sep 17 00:00:00 2001 From: nils Date: Wed, 14 Apr 2010 17:47:56 +0000 Subject: 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 --- context.cpp | 2 +- gpgwin.cpp | 1 - 2 files changed, 1 insertion(+), 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 diff --git a/gpgwin.cpp b/gpgwin.cpp index 333bafa..d39564e 100644 --- a/gpgwin.cpp +++ b/gpgwin.cpp @@ -451,7 +451,6 @@ void GpgWin::encrypt() QString *tmp2 = new QString(*tmp); edit->setPlainText(*tmp2); } - } void GpgWin::decrypt() -- cgit v1.2.3