summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-04-15 01:39:32 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-04-15 21:13:53 +0200
commit84b2cf08a196e4af6bf40073d5416c4bdbdee031 (patch)
treee365c903dd47b81cb39087d95c9535fa3a813c99 /resources/qml
parentMerge branch 'master' of ssh://github.com/Nheko-Reborn/nheko (diff)
downloadnheko-84b2cf08a196e4af6bf40073d5416c4bdbdee031.tar.xz
Set Dialog flag on Dialogs
Relates to #538
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/RoomSettings.qml1
-rw-r--r--resources/qml/UserProfile.qml2
-rw-r--r--resources/qml/device-verification/DeviceVerification.qml3
3 files changed, 6 insertions, 0 deletions
diff --git a/resources/qml/RoomSettings.qml b/resources/qml/RoomSettings.qml

index fdf8d980..0568cdc2 100644 --- a/resources/qml/RoomSettings.qml +++ b/resources/qml/RoomSettings.qml
@@ -21,6 +21,7 @@ ApplicationWindow { palette: colors color: colors.window modality: Qt.WindowModal + flags: Qt.Dialog Shortcut { sequence: StandardKey.Cancel diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml
index 055bd7a2..92b8b83f 100644 --- a/resources/qml/UserProfile.qml +++ b/resources/qml/UserProfile.qml
@@ -22,6 +22,8 @@ ApplicationWindow { palette: colors color: colors.window title: profile.isGlobalUserProfile ? qsTr("Global User Profile") : qsTr("Room User Profile") + modality: Qt.WindowModal + flags: Qt.Dialog Shortcut { sequence: StandardKey.Cancel diff --git a/resources/qml/device-verification/DeviceVerification.qml b/resources/qml/device-verification/DeviceVerification.qml
index fee0284a..41ed8d57 100644 --- a/resources/qml/device-verification/DeviceVerification.qml +++ b/resources/qml/device-verification/DeviceVerification.qml
@@ -15,9 +15,12 @@ ApplicationWindow { onClosing: TimelineManager.removeVerificationFlow(flow) title: stack.currentItem.title flags: Qt.Dialog + modality: Qt.WindowModal palette: colors height: stack.implicitHeight width: stack.implicitWidth + x: MainWindow.x + (MainWindow.width / 2) - (width / 2) + y: MainWindow.y + (MainWindow.height / 2) - (height / 2) StackView { id: stack