diff --git a/src/ui/splash.qml b/src/ui/splash.qml index a3422b76..6a46519d 100755 --- a/src/ui/splash.qml +++ b/src/ui/splash.qml @@ -3,6 +3,7 @@ import QtQuick.Controls 2.12 import QtQuick.Controls.Material 2.12 import QtQuick.Window 2.12 import QtQuick.Layouts 1.12 +import Qt.labs.settings 1.0 Window { id: windowSplash @@ -15,6 +16,8 @@ Window { x: (Screen.width - width)/2 y: (Screen.height - height)/2 + Material.theme: ~~settings.value("style/material/theme", Material.Light) + Dialog { id: dialogSplash anchors.centerIn: Overlay.overlay @@ -34,6 +37,8 @@ Window { height: implicitHeight + (implicitHeight % 2) ColumnLayout { + anchors.fill: parent + Image { id: imageLogo Layout.alignment: Qt.AlignVCenter | Qt.AlignHCenter @@ -92,4 +97,8 @@ Window { repeat: false onTriggered: dialogSplash.close() } + + Settings { + id: settings + } }