diff options
-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() |