Fix Qt6 build regressions
This commit is contained in:
parent
b491aeb9ae
commit
5368537981
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue