Set Dialog flag on Dialogs

Relates to #538
pull/554/head
Nicolas Werner 4 years ago
parent a6c89d1362
commit 84b2cf08a1
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 1
      resources/qml/RoomSettings.qml
  2. 2
      resources/qml/UserProfile.qml
  3. 3
      resources/qml/device-verification/DeviceVerification.qml

@ -21,6 +21,7 @@ ApplicationWindow {
palette: colors
color: colors.window
modality: Qt.WindowModal
flags: Qt.Dialog
Shortcut {
sequence: StandardKey.Cancel

@ -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

@ -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

Loading…
Cancel
Save