blob: de33976061db07eb3b6cb2a2c7c9d1899b37785e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From eed28bbd8aec29cb9a045a5188ceb0e27ff33344 Mon Sep 17 00:00:00 2001
From: Marco Martin <notmart@gmail.com>
Date: Fri, 3 Nov 2017 16:57:11 +0100
Subject: [PATCH] syntax working on older Qt 5.7
BUG:385785
---
src/controls/Page.qml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/controls/Page.qml b/src/controls/Page.qml
index c2d0307..4498e40 100644
--- a/src/controls/Page.qml
+++ b/src/controls/Page.qml
@@ -256,7 +256,8 @@ T2.Page {
right: parent.right
bottom: parent.bottom
}
- property T2.Page page: root
+ //It should be T2.Page, Qt 5.7 doesn't like it
+ property Item page: root
height: item ? item.height : 0
source: (applicationWindow().header && applicationWindow().header.toString().indexOf("ToolBarApplicationHeader") === 0) ||
(applicationWindow().footer && applicationWindow().footer.visible && applicationWindow().footer.toString().indexOf("ToolBarApplicationHeader") === 0)
--
2.13.6
|