From 8d5072533f5eb87864f2fd3f51385abaa96535cd Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 7 Feb 2026 22:00:45 -0600 Subject: [PATCH] Fix polish() loop in the quit dialog Fixes #1816 --- app/gui/NavigableDialog.qml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/gui/NavigableDialog.qml b/app/gui/NavigableDialog.qml index 934cd013..4384d5bb 100644 --- a/app/gui/NavigableDialog.qml +++ b/app/gui/NavigableDialog.qml @@ -1,11 +1,9 @@ import QtQuick 2.0 -import QtQuick.Controls 2.3 +import QtQuick.Controls 2.5 Dialog { modal: true - - x: Math.round((parent.width - width) / 2) - y: Math.round((parent.height - height) / 2) + anchors.centerIn: Overlay.overlay onClosed: { // We must force focus back to the last item. If we don't,