summaryrefslogtreecommitdiffstats
path: root/resources/qml/device-verification
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/device-verification
parenta6c89d13622907e4c4bf8464fc54fd6e98b62b0a (diff)
Set Dialog flag on Dialogs
Relates to #538
Diffstat (limited to 'resources/qml/device-verification')
-rw-r--r--resources/qml/device-verification/DeviceVerification.qml3
1 files changed, 3 insertions, 0 deletions
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