Fix Qt6 build regressions

This commit is contained in:
Volker Krause 2022-04-22 16:24:30 +02:00
parent b491aeb9ae
commit 5368537981
2 changed files with 5 additions and 5 deletions

View file

@ -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)

View file

@ -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;
}