diff --git a/launcher/ui/Settings/AccountSettings.qml b/launcher/ui/Settings/AccountSettings.qml index 5d36434..e112eb9 100644 --- a/launcher/ui/Settings/AccountSettings.qml +++ b/launcher/ui/Settings/AccountSettings.qml @@ -165,7 +165,7 @@ FormCard.FormCardPage { id: lodestoneDialog title: i18n("Enter Lodestone Id") standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel - parent: page + parent: page.QQC2.Overlay.overlay onAccepted: { page.account.config.lodestoneId = lodestoneIdField.text; @@ -237,7 +237,7 @@ FormCard.FormCardPage { Kirigami.PromptDialog { id: otpDialog title: i18n("Enter OTP Secret") - parent: page + parent: page.QQC2.Overlay.overlay standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel @@ -433,7 +433,7 @@ FormCard.FormCardPage { subtitle: i18nc("@label", "Are you sure you want to delete this account?") standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel showCloseButton: false - parent: page + parent: page.QQC2.Overlay.overlay onAccepted: { LauncherCore.accountManager.deleteAccount(page.account); diff --git a/launcher/ui/Settings/CompatibilityToolSetup.qml b/launcher/ui/Settings/CompatibilityToolSetup.qml index 87e57ab..3ac119e 100644 --- a/launcher/ui/Settings/CompatibilityToolSetup.qml +++ b/launcher/ui/Settings/CompatibilityToolSetup.qml @@ -57,7 +57,7 @@ FormCard.FormCardPage { readonly property Kirigami.PromptDialog errorDialog: Kirigami.PromptDialog { showCloseButton: false standardButtons: Kirigami.Dialog.Ok - parent: page + parent: page.QQC2.Overlay.overlay } data: Connections { diff --git a/launcher/ui/Settings/ProfileSettings.qml b/launcher/ui/Settings/ProfileSettings.qml index 5a7b5a9..db59af6 100644 --- a/launcher/ui/Settings/ProfileSettings.qml +++ b/launcher/ui/Settings/ProfileSettings.qml @@ -337,7 +337,7 @@ FormCard.FormCardPage { subtitle: i18nc("@label", "Are you sure you want to delete this profile?") standardButtons: Kirigami.Dialog.Ok | Kirigami.Dialog.Cancel showCloseButton: false - parent: page + parent: page.QQC2.Overlay.overlay QQC2.Switch { id: deleteFilesSwitch diff --git a/launcher/ui/Settings/SyncSettings.qml b/launcher/ui/Settings/SyncSettings.qml index 37ae34c..3cb4113 100644 --- a/launcher/ui/Settings/SyncSettings.qml +++ b/launcher/ui/Settings/SyncSettings.qml @@ -3,6 +3,7 @@ import QtQuick import QtQuick.Layouts +import QtQuick.Controls as QQC2 import org.kde.kirigami as Kirigami import org.kde.kirigamiaddons.formcard as FormCard @@ -141,6 +142,6 @@ FormCard.FormCardPage { title: i18n("Login Error") showCloseButton: false standardButtons: Kirigami.Dialog.Ok - parent: page + parent: page.QQC2.Overlay.overlay } }