aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()