@@ -147,10 +147,6 @@ Item {
150− property color modelBackgroundColor: "transparent"
151− property color modelHeaderColor: "transparent"
152− property color modelFooterColor: "transparent"
154 StateGroup {
150 StateGroup {
155 id: appSurfaceState
151 id: appSurfaceState
156 states: [
152 states: [
@@ -159,19 +155,19 @@ Item {
159 when: !surfaceContainer.appHasCreatedASurface
155 when: !surfaceContainer.appHasCreatedASurface
160 StateChangeScript {
156 StateChangeScript {
161 script: {
157 script: {
162− var properties = { "title": model.name,
158+ var properties = { "title": model.splashTitle ? model.splashTitle : model.name,
163− "image": "",
159+ "image": model.splashImage,
164− "showHeader": true
160+ "showHeader": model.splashShowHeader
167− if (root.modelBackgroundColor.a == 1) {
163+ if (model.splashColor.a == 1) {
168− properties["backgroundColor"] = root.modelBackgroundColor;
164+ properties["backgroundColor"] = model.splashColor;
170− if (root.modelHeaderColor.a == 1) {
166+ if (model.splashColorHeader.a == 1) {
171− properties["headerColor"] = root.modelHeaderColor;
167+ properties["headerColor"] = model.splashColorHeader;
173− if (root.modelFooterColor.a == 1) {
169+ if (model.splashColorFooter.a == 1) {
174− properties["footerColor"] = root.modelFooterColor;
170+ properties["footerColor"] = model.splashColorFooter;
176 splashLoader.setSource("Splash.qml", properties);
172 splashLoader.setSource("Splash.qml", properties);