Otherwise it will have the wrong size on KDE.
Task-number: QTBUG-32223
Change-Id: I3ed92ff8aead5c6e5a37a5189c7103a5383087ae
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
//! [splash-properties]
Window {
id: splash
- visible: true
- width: splashImage.width
- height: splashImage.height
color: "transparent"
title: "Splash Window"
modality: Qt.ApplicationModal
x: (Screen.width - splashImage.width) / 2
y: (Screen.height - splashImage.height) / 2
//! [screen-properties]
+ width: splashImage.width
+ height: splashImage.height
Image {
id: splashImage
}
}
//! [timer]
+ Component.onCompleted: visible = true
}