diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-07-07 13:50:43 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2014-07-07 15:25:46 +0200 |
commit | 09a18bfaf8c4528d3cb7d38b8d5c9f1562c4a2fc (patch) | |
tree | fdc6a0cdd398c92c73709c5c0df4a204ce12624c | |
parent | b2559bcc97b5e98bc1c4e635ba5295a8d18b507e (diff) |
Use true/false instead of 1/0 for bool
Change-Id: I0080ab942b21cea5c6c53a338f4d1ec1b88fa408
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
-rw-r--r-- | qml/pages/BasicPage.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/pages/BasicPage.qml b/qml/pages/BasicPage.qml index 81755d6..048430a 100644 --- a/qml/pages/BasicPage.qml +++ b/qml/pages/BasicPage.qml @@ -178,7 +178,7 @@ Item { TouchTextField { id: searchField z: 2 - visible: page.Stack.index === 0 ? 1 : 0 + visible: page.Stack.index === 0 ? true : false anchors.right: blueRect.right anchors.top: blueRect.top anchors.bottom: blueRect.bottom |