Commit b8f51654 authored by Laurent Montel's avatar Laurent Montel
Browse files

Fix window raising on Wayland

winId() doesn't work there, use windowHandle() instead
parent 3582cfe4
Pipeline #249427 passed with stage
in 20 minutes and 20 seconds
......@@ -925,7 +925,7 @@ void ActionManager::file_open(const QUrl &url)
KOrg::MainWindow *korg = ActionManager::findInstance(url);
if ((nullptr != korg) && (korg != mMainWindow)) {
#if KDEPIM_HAVE_X11
KWindowSystem::activateWindow(korg->topLevelWidget()->winId());
KWindowSystem::activateWindow(korg->topLevelWidget()->windowHandle());
#endif
return;
}
......
Supports Markdown
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