Fix wrong argument being passed into maximize component creation

It's supposed to refer to the attached property on QQC2.Overlay, not
QQC2.ApplicationWindow
This commit is contained in:
Joshua Goins
2023-11-10 12:19:52 -05:00
parent 555d23863e
commit b8e592f8ba

View File

@@ -282,7 +282,7 @@ Kirigami.Page {
}
function onShowMaximizedMedia(index) {
var popup = maximizeComponent.createObject(QQC2.ApplicationWindow.overlay, {
var popup = maximizeComponent.createObject(QQC2.Overlay.overlay, {
initialIndex: index
})
popup.closed.connect(() => {