diff --git a/app/gui/NavigableDialog.qml b/app/gui/NavigableDialog.qml index 5cf7a55d..a41c011c 100644 --- a/app/gui/NavigableDialog.qml +++ b/app/gui/NavigableDialog.qml @@ -2,7 +2,8 @@ import QtQuick 2.0 import QtQuick.Controls 2.2 Dialog { - parent: overlay + // We should use Overlay.overlay here but that's not available in Qt 5.9 :( + parent: ApplicationWindow.contentItem x: Math.round((parent.width - width) / 2) y: Math.round((parent.height - height) / 2)