aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols2/deferred/data/noSpuriousBinding.qml
blob: 9f6a174cf451664bffbc7155cc86b76f70c4aea2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import test
import QtQuick

Item {
    id: root
    property bool toggle: true
    property int counter: 0

    x: toggle ? 100 : tester.objectProperty.x

    DeferredPropertyTester {
        id: tester
	objectProperty: Item {  x: { console.log("hi");  return 300; } }
    }
}