diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-10-29 03:05:16 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2010-11-30 03:57:16 (GMT) |
commit | 1de080649c6b810ed6bc05e883795687ecde1f3d (patch) | |
tree | a6742e98aade67b553597901bc7396be2012983a /tools | |
parent | efc41eaa7224c33b5b5af7eae27c93c6748255bc (diff) | |
download | Qt-1de080649c6b810ed6bc05e883795687ecde1f3d.zip Qt-1de080649c6b810ed6bc05e883795687ecde1f3d.tar.gz Qt-1de080649c6b810ed6bc05e883795687ecde1f3d.tar.bz2 |
Fix Browser.qml warnings
Task-number: QTBUG-15720
Reviewed-by: Martin Jones
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qml/browser/Browser.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qml/browser/Browser.qml b/tools/qml/browser/Browser.qml index ebed72f..b9573da 100644 --- a/tools/qml/browser/Browser.qml +++ b/tools/qml/browser/Browser.qml @@ -180,7 +180,7 @@ Rectangle { GradientStop { id: t1; position: 0.0; color: palette.highlight } GradientStop { id: t2; position: 1.0; color: Qt.lighter(palette.highlight) } } - width: view1.currentItem.width + width: view1.currentItem == null ? 0 : view1.currentItem.width } highlightMoveSpeed: 1000 pressDelay: 100 @@ -230,7 +230,7 @@ Rectangle { GradientStop { id: t1; position: 0.0; color: palette.highlight } GradientStop { id: t2; position: 1.0; color: Qt.lighter(palette.highlight) } } - width: view1.currentItem.width + width: view1.currentItem == null ? 0 : view1.currentItem.width } highlightMoveSpeed: 1000 pressDelay: 100 |