Commit 9449ce8b authored by David Faure's avatar David Faure

Port away from deprecated KWindowSystem API

parent 674dd5f7
......@@ -87,7 +87,8 @@ int main(int argc, char* argv[])
WId winId = attachHandle.mid(x11Prefix.length()).toLong(&ok, 0);
if (ok) {
dialog.setModal(true);
KWindowSystem::setMainWindow(&dialog, winId);
dialog.setAttribute(Qt::WA_NativeWindow, true);
KWindowSystem::setMainWindow(dialog.windowHandle(), winId);
}
}
}
......
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