diff options
Diffstat (limited to 'kde-frameworks/kirigami/files/kirigami-5.39.0-qt57.patch')
-rw-r--r-- | kde-frameworks/kirigami/files/kirigami-5.39.0-qt57.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/kde-frameworks/kirigami/files/kirigami-5.39.0-qt57.patch b/kde-frameworks/kirigami/files/kirigami-5.39.0-qt57.patch new file mode 100644 index 000000000000..de33976061db --- /dev/null +++ b/kde-frameworks/kirigami/files/kirigami-5.39.0-qt57.patch @@ -0,0 +1,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 + |