on xenial help sign in
Use an alias.
commit0bc44b0b2fe0d8b7a1f85a6368786f0a8f2cba44 authorMichał Sawicz <michal.sawicz@canonical.com> dateFri 7 Feb 2014, 10:00 (13 years ago) parentc1abb34
2 files changed+2−2
qml/Dash/Card.qml+1−1 qml/Dash/CardTool.qml+1−1
qml/Dash/Card.qml+1−1
@@ -24,7 +24,7 @@ Item {
2424 property var cardData
2525
2626 property alias fontScale: header.fontScale
27− property alias headerHeight: header.height
27+ readonly property alias headerHeight: header.height
2828
2929 property bool showHeader: true
3030
qml/Dash/CardTool.qml+1−1
@@ -103,7 +103,7 @@ Item {
103103 /*!
104104 type:real \brief Height of the card's header.
105105 */
106− readonly property var headerHeight: card.headerHeight
106+ readonly property alias headerHeight: card.headerHeight
107107
108108 readonly property QtObject priv: card
109109