QProperty: Apply coding style and avoid warnings
Change-Id: I14efdb293a4be39b3849b34bd8013fdab016ce7e Reviewed-by: Simon Hausmann <hausmann@gmail.com>
This commit is contained in:
parent
3768a915bc
commit
36bd34dbdc
@ -222,11 +222,11 @@ void tst_QProperty::avoidDependencyAllocationAfterFirstEval()
|
||||
QCOMPARE(propWithBinding.value(), int(11));
|
||||
|
||||
QVERIFY(QPropertyBasePointer::get(propWithBinding).bindingPtr());
|
||||
QCOMPARE(QPropertyBasePointer::get(propWithBinding).bindingPtr()->dependencyObserverCount, 2);
|
||||
QCOMPARE(QPropertyBasePointer::get(propWithBinding).bindingPtr()->dependencyObserverCount, 2u);
|
||||
|
||||
firstDependency = 100;
|
||||
QCOMPARE(propWithBinding.value(), int(110));
|
||||
QCOMPARE(QPropertyBasePointer::get(propWithBinding).bindingPtr()->dependencyObserverCount, 2);
|
||||
QCOMPARE(QPropertyBasePointer::get(propWithBinding).bindingPtr()->dependencyObserverCount, 2u);
|
||||
}
|
||||
|
||||
void tst_QProperty::propertyArrays()
|
||||
|
Loading…
Reference in New Issue
Block a user