tst_QProperty: fix -Wsign-compare
Amends cb30e45b9a800c6ad9cdfb446a20b6a6e8efbe71. Change-Id: I53c32a44c642a931038c7c95de903eafc0d0f6b9 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 0ffb5c79db977c8dc892be6f4651d57ad5a5ed0e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
c325766423
commit
75544c0af6
@ -1505,7 +1505,7 @@ void tst_QProperty::noDoubleCapture()
|
||||
return size.value();
|
||||
});
|
||||
auto bindingPriv = QPropertyBindingPrivate::get(max.binding());
|
||||
QCOMPARE(bindingPriv->dependencyObserverCount, 1);
|
||||
QCOMPARE(bindingPriv->dependencyObserverCount, 1U);
|
||||
size = 4; // should not crash
|
||||
QCOMPARE(max.value(), 4);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user