diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-09-18 13:07:49 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@digia.com> | 2014-09-18 13:18:17 +0200 |
commit | 7884c8c8189b560cd5c0bdb4e8665419a8e307ec (patch) | |
tree | 30189e73056f39586b82bc24bf34170727af892f /examples | |
parent | a1222fd21dc0004da07e6cd2d21e2ffbc9cb06c7 (diff) | |
download | qtquickcontrols-7884c8c8189b560cd5c0bdb4e8665419a8e307ec.tar.gz |
Fix undefined __syspal reference
There is no such reference AFAICT. Use SystemPalette instead.
Task-number: QTBUG-41390
Change-Id: I09becb9a39e20137a5092942c4d9cb09ef133abb
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/controls/calendar/qml/main.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/quick/controls/calendar/qml/main.qml b/examples/quick/controls/calendar/qml/main.qml index e2e89214..8af5a6ca 100644 --- a/examples/quick/controls/calendar/qml/main.qml +++ b/examples/quick/controls/calendar/qml/main.qml @@ -54,6 +54,10 @@ ApplicationWindow { title: "Calendar Example" + SystemPalette { + id: systemPalette + } + SqlEventModel { id: eventModel } @@ -77,7 +81,7 @@ ApplicationWindow { style: CalendarStyle { dayDelegate: Item { readonly property color sameMonthDateTextColor: "#444" - readonly property color selectedDateColor: Qt.platform.os === "osx" ? "#3778d0" : __syspal.highlight + readonly property color selectedDateColor: Qt.platform.os === "osx" ? "#3778d0" : systemPalette.highlight readonly property color selectedDateTextColor: "white" readonly property color differentMonthDateTextColor: "#bbb" readonly property color invalidDatecolor: "#dddddd" |