diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/window/Splash.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/quick/window/Splash.qml b/examples/quick/window/Splash.qml index c981bd2585..995e264f8b 100644 --- a/examples/quick/window/Splash.qml +++ b/examples/quick/window/Splash.qml @@ -44,9 +44,6 @@ import QtQuick.Window 2.1 //! [splash-properties] Window { id: splash - visible: true - width: splashImage.width - height: splashImage.height color: "transparent" title: "Splash Window" modality: Qt.ApplicationModal @@ -58,6 +55,8 @@ Window { x: (Screen.width - splashImage.width) / 2 y: (Screen.height - splashImage.height) / 2 //! [screen-properties] + width: splashImage.width + height: splashImage.height Image { id: splashImage @@ -76,4 +75,5 @@ Window { } } //! [timer] + Component.onCompleted: visible = true } |