Fix binding loop in declarative-camera example

Task-number: QTBUG-33879
Change-Id: I6d584fcaa049fb5be650797348452b4086dd6df0
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Topi Reinio
2013-10-09 14:32:02 +02:00
committed by The Qt Project
parent c2f95891c0
commit 4cd39cc52f

View File

@@ -83,10 +83,6 @@ Rectangle {
highlight: Rectangle { color: "gray"; radius: 5 }
currentIndex: indexForValue(propertyPopup.currentValue)
onCurrentIndexChanged: {
propertyPopup.currentValue = model.get(view.currentIndex).value
}
delegate: Item {
width: propertyPopup.itemWidth
height: 70