Fix polish() loop in the quit dialog
Some checks failed
Build / setup (push) Has been cancelled
Build / build-appimage (push) Has been cancelled
Build / build-steamlink (push) Has been cancelled
Build / build-windows-macos (push) Has been cancelled

Fixes #1816
This commit is contained in:
Cameron Gutman 2026-02-07 22:00:45 -06:00
commit 8d5072533f

View file

@ -1,11 +1,9 @@
import QtQuick 2.0 import QtQuick 2.0
import QtQuick.Controls 2.3 import QtQuick.Controls 2.5
Dialog { Dialog {
modal: true modal: true
anchors.centerIn: Overlay.overlay
x: Math.round((parent.width - width) / 2)
y: Math.round((parent.height - height) / 2)
onClosed: { onClosed: {
// We must force focus back to the last item. If we don't, // We must force focus back to the last item. If we don't,