mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-18 14:40:56 +00:00
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user