File: activate_password_dialog.diff

package info (click to toggle)
print-manager 6%3A6.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,172 kB
  • sloc: cpp: 9,251; xml: 261; sh: 5; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 814 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Date: Wed, 13 Apr 2016 12:03:42 +0200
Subject: activate_password_dialog

Last-Update: 2024-06-22

===================================================================
---
 libkcups/KCupsPasswordDialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/src/libkcups/KCupsPasswordDialog.cpp
+++ b/src/libkcups/KCupsPasswordDialog.cpp
@@ -51,7 +51,7 @@ void KCupsPasswordDialog::exec(const QSt
 {
     QPointer<KPasswordDialog> dialog = new KPasswordDialog(nullptr, KPasswordDialog::ShowUsernameLine);
     dialog->setPrompt(m_promptText);
-    dialog->setModal(false);
+    dialog->setModal(true);
     dialog->setUsername(username);
     if (wrongPassword) {
         dialog->showErrorMessage(QString(), KPasswordDialog::UsernameError);