Commit 726262b9 authored by David Faure's avatar David Faure

Port to non-deprecated KWindowSystem::setMainWindow overload

(cherry picked from commit 15a3d825)
parent e2cbf51a
......@@ -155,7 +155,8 @@ void SolidUiServer::reparentDialog(QWidget *dialog, WId wId, const QString &appI
// Code borrowed from kwalletd
KWindowSystem::setMainWindow(dialog, wId); // correct, set dialog parent
dialog->setAttribute(Qt::WA_NativeWindow, true);
KWindowSystem::setMainWindow(dialog->windowHandle(), wId); // correct, set dialog parent
#if HAVE_X11
if (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