aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2013-07-11 23:14:52 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2013-07-11 23:14:52 +0200
commit58400a90110e303f08c790a9ec436aa6555bb7ff (patch)
tree6a95b7c31028634398b68f036def2c752fb07bf9 /examples
parent68b2f86919546a5f4d998f8ababd5d0b5fb8dfa2 (diff)
parentc3741b6e04f2d4dd21748211e3650e3cf6830435 (diff)
Merge remote-tracking branch 'origin/stable' into dev
Diffstat (limited to 'examples')
-rw-r--r--examples/quick/window/Splash.qml6
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
}