Commit c56dbfc8 authored by David Faure's avatar David Faure

Port away from deprecated API in KWindowSystem

parent 67b85da4
......@@ -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
setWindowModality(Qt::ApplicationModal);
......
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