aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-04-14 17:47:56 +0000
committernils <nils@34ebc366-c3a9-4b3c-9f84-69acf7962910>2010-04-14 17:47:56 +0000
commite2316350cac716ab592074c8358400a5aba7eefc (patch)
tree741863cac6a2edccfaa77416b804eab63c1f7ee9
parentfixed badass a bug and updates README.build (diff)
downloadgpg4usb-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.cpp2
-rw-r--r--gpgwin.cpp1
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
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()