Commit 53685379 authored by Volker Krause's avatar Volker Krause
Browse files

Fix Qt6 build regressions

parent b491aeb9
Pipeline #167006 passed with stage
in 19 minutes and 1 second
......@@ -11,10 +11,10 @@ add_library(effectsplugin
target_link_libraries(effectsplugin
kwineffects
Qt5::Core
Qt5::Gui
Qt5::Qml
Qt5::Quick
Qt::Core
Qt::Gui
Qt::Qml
Qt::Quick
)
install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kwin/private/effects)
......
......@@ -56,7 +56,7 @@ void WindowViewEffect::activate(const QStringList &windowIds)
QList<QUuid> internalIds;
internalIds.reserve(windowIds.count());
for (const QString &windowId : windowIds) {
if (const auto window = effects->findWindow(windowId)) {
if (const auto window = effects->findWindow(QUuid(windowId))) {
internalIds.append(window->internalId());
continue;
}
......
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