Commit 70949ea2 authored by David Faure's avatar David Faure
Browse files

Port to non-deprecated KWindowSystem::setMainWindow overload

parent 1fe2845a
......@@ -54,7 +54,8 @@ AuthDialog::AuthDialog(const QString &actionId,
qDebug() << "Associating the dialog with " << parent << " this dialog is " << winId();
// Set the parent
KWindowSystem::setMainWindow(this, parent);
setAttribute(Qt::WA_NativeWindow, true);
KWindowSystem::setMainWindow(windowHandle(), parent);
// Set modal
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment