Skip to content

Commit 8d50725

Browse files
committed
Fix polish() loop in the quit dialog
Fixes moonlight-stream#1816
1 parent 4c14a24 commit 8d50725

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

app/gui/NavigableDialog.qml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import QtQuick 2.0
2-
import QtQuick.Controls 2.3
2+
import QtQuick.Controls 2.5
33

44
Dialog {
55
modal: true
6-
7-
x: Math.round((parent.width - width) / 2)
8-
y: Math.round((parent.height - height) / 2)
6+
anchors.centerIn: Overlay.overlay
97

108
onClosed: {
119
// We must force focus back to the last item. If we don't,

0 commit comments

Comments
 (0)