Commit 0b2eefd6 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Fix window raising on Wayland

winId() doesn't work there, use windowHandle() instead
parent 31e5a1f0
Pipeline #249403 passed with stage
in 53 seconds
......@@ -10,7 +10,7 @@ set (RELEASE_SERVICE_COMPACT_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}${RELEASE_
project(KHelpCenter VERSION "5.8.${RELEASE_SERVICE_COMPACT_VERSION}")
set(QT_MIN_VERSION "5.15.0")
set(KF_MIN_VERSION "5.85.0")
set(KF_MIN_VERSION "5.89.0")
find_package(ECM ${KF_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH})
......
......@@ -62,7 +62,7 @@ void Application::activateForStartLikeCall()
#endif
mMainWindow->raise();
KWindowSystem::activateWindow(mMainWindow->winId());
KWindowSystem::activateWindow(mMainWindow->windowHandle());
}
void Application::newInstance()
......
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