Make sure the authentication dialog is shown on top of the other windows.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
r14.0.x
Michele Calgaro 3 years ago
parent fa8c5e1b82
commit 479a01e00e
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -23,6 +23,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include "twin.h"
#include <PolkitTQt/Agent/Listener>
#include <PolkitTQt/Agent/Session>
@ -82,6 +83,7 @@ void PolkitListener::initiateAuthentication(const TQString &actionId, const TQSt
m_dialog->setOptions();
m_dialog->show();
KWin::forceActiveWindow(m_dialog->winId());
if (identities.count() == 1)
{

Loading…
Cancel
Save