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

@@ -116,7 +116,7 @@ FormCard.FormCardPage {
FormCard.FormButtonDelegate {
text: i18nc("@action:button", "QR code for account")
onClicked: {
let qrMax = Qt.createComponent('org.kde.neochat', 'QrCodeMaximizeComponent').createObject(QQC2.ApplicationWindow.overlay, {
let qrMax = Qt.createComponent('org.kde.neochat', 'QrCodeMaximizeComponent').createObject(QQC2.Overlay.overlay, {
text: "https://matrix.to/#/" + root.connection.localUser.id,
title: root.connection.localUser.displayName,
subtitle: root.connection.localUser.id,

View File

@@ -73,7 +73,7 @@ FormCard.FormCardPage {
if (fileDialog != null) {
return;
}
fileDialog = openFileDialog.createObject(QQC2.ApplicationWindow.Overlay);
fileDialog = openFileDialog.createObject(QQC2.Overlay.overlay);
fileDialog.chosen.connect(function (receivedSource) {
mouseArea.fileDialog = null;
if (!receivedSource) {

View File

@@ -48,7 +48,7 @@ FormCard.FormCardPage {
display: QQC2.AbstractButton.IconOnly
onClicked: {
const fileDialog = openFileDialog.createObject(QQC2.ApplicationWindow.overlay);
const fileDialog = openFileDialog.createObject(QQC2.Overlay.overlay);
fileDialog.chosen.connect(function (path) {
if (!path)
return;