Switch from QQC2.ApplicationWindow.overlay to QQC2.Overlay.overlay
Closes #648
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user