Switch from QQC2.ApplicationWindow.overlay to QQC2.Overlay.overlay

Closes #648
This commit is contained in:
Joshua Goins
2024-06-08 11:31:13 -04:00
parent 364eda6400
commit 6275d7afaa
11 changed files with 12 additions and 12 deletions

View File

@@ -49,7 +49,7 @@ DelegateContextMenu {
text: i18n("Save As")
icon.name: "document-save"
onTriggered: {
var dialog = saveAsDialog.createObject(QQC2.ApplicationWindow.overlay);
var dialog = saveAsDialog.createObject(QQC2.Overlay.overlay);
dialog.open();
dialog.currentFile = dialog.folder + "/" + currentRoom.fileNameToDownload(eventId);
}

View File

@@ -101,7 +101,7 @@ Components.AlbumMaximizeComponent {
onItemRightClicked: RoomManager.viewEventMenu(root.currentEventId, root.currentRoom)
onSaveItem: {
var dialog = saveAsDialog.createObject(QQC2.ApplicationWindow.overlay);
var dialog = saveAsDialog.createObject(QQC2.Overlay.overlay);
dialog.open();
dialog.currentFile = dialog.folder + "/" + currentRoom.fileNameToDownload(root.currentEventId);
}

View File

@@ -242,7 +242,7 @@ QQC2.Control {
text: i18nc("Join <name of a space>", "Join %1", SpaceHierarchyCache.recommendedSpaceDisplayName)
source: SpaceHierarchyCache.recommendedSpaceAvatar.length > 0 ? root.connection.makeMediaUrl(SpaceHierarchyCache.recommendedSpaceAvatar) : ""
onSelected: {
recommendedSpaceDialogComponent.createObject(QQC2.ApplicationWindow.overlay, {
recommendedSpaceDialogComponent.createObject(QQC2.Overlay.overlay, {
connection: root.connection
}).open();
}

View File

@@ -123,7 +123,7 @@ Item {
icon.name: "list-remove"
display: QQC2.AbstractButton.IconOnly
onClicked: {
removeChildDialog.createObject(QQC2.ApplicationWindow.overlay, {
removeChildDialog.createObject(QQC2.Overlay.overlay, {
parentRoom: root.parentRoom,
roomId: root.roomId,
displayName: root.displayName,

View File

@@ -94,7 +94,7 @@ RowLayout {
id: switchUserButton
text: i18n("Switch User")
icon.name: "system-switch-user"
onTriggered: accountSwitchDialog.createObject(QQC2.ApplicationWindow.overlay, {
onTriggered: accountSwitchDialog.createObject(QQC2.Overlay.overlay, {
connection: root.connection
}).open();
},
@@ -123,7 +123,7 @@ RowLayout {
// id: switchUserButton
// text: i18n("Switch User")
// icon.name: "system-switch-user"
// onTriggered: accountSwitchDialog.createObject(QQC2.ApplicationWindow.overlay, {
// onTriggered: accountSwitchDialog.createObject(QQC2.Overlay.overlay, {
// connection: root.connection
// }).open();
// }