aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative
diff options
context:
space:
mode:
authorAnselmo L. S. Melo <anselmo.melo@openbossa.org>2012-01-20 18:00:16 -0300
committerQt by Nokia <qt-info@nokia.com>2012-01-20 22:24:27 +0100
commit6e5430ce256345f23b2dbba382c315114f128a3b (patch)
treea9e6bc80be59282ce39ad7b788fd231df23cb89b /tests/auto/declarative
parent5781f7f226137634e585197e4f4717748c8a4f76 (diff)
QtDeclarative Tests build fix
QBool was removed from QtBase in change I6642f43f: "Remove QBool and use bool instead". Change-Id: Icc037d4201a007f9df0f7c79b19808dc174c218f Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'tests/auto/declarative')
-rw-r--r--tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp b/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp
index 2af72996f1..b41cd0616d 100644
--- a/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp
+++ b/tests/auto/declarative/qdeclarativeinfo/tst_qdeclarativeinfo.cpp
@@ -175,7 +175,7 @@ void tst_qdeclarativeinfo::types()
qmlInfo(0) << QByteArray("Qt");
QTest::ignoreMessage(QtWarningMsg, "<Unknown File>: true");
- qmlInfo(0) << QBool(true);
+ qmlInfo(0) << bool(true);
//### do we actually want QUrl to show up in the output?
//### why the extra space at the end?
@@ -212,7 +212,7 @@ void tst_qdeclarativeinfo::chaining()
<< QUrl("http://qt.nokia.com")
<< ref
<< QByteArray("Qt")
- << QBool(true)
+ << bool(true)
<< QString ("Quick");
}