summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-01-11 05:48:43 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-01-11 05:48:43 (GMT)
commitaa6ec25bdf0e69873b537e05d4511543b21f3e8a (patch)
tree7ca99c20c7cb5acdce8b111dd0eba72c372ec3df
parent5832eb0354634efd29cbe55558000e51cb68ec40 (diff)
parent8fa3f3f7f038f10dcd2bbd160f04275fe0efaadf (diff)
downloadQt-aa6ec25bdf0e69873b537e05d4511543b21f3e8a.zip
Qt-aa6ec25bdf0e69873b537e05d4511543b21f3e8a.tar.gz
Qt-aa6ec25bdf0e69873b537e05d4511543b21f3e8a.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
-rw-r--r--src/declarative/qml/qmlcompiler.cpp3
-rw-r--r--src/declarative/qml/qmlengine.cpp4
-rw-r--r--tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp1
3 files changed, 2 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlcompiler.cpp b/src/declarative/qml/qmlcompiler.cpp
index 7f8bc7a..3b2009a 100644
--- a/src/declarative/qml/qmlcompiler.cpp
+++ b/src/declarative/qml/qmlcompiler.cpp
@@ -2776,9 +2776,6 @@ QmlType *QmlCompiler::toQmlType(QmlParser::Object *from)
QStringList QmlCompiler::deferredProperties(QmlParser::Object *obj)
{
- if (!qmlExperimental())
- return QStringList();
-
const QMetaObject *mo = obj->metatype;
int idx = mo->indexOfClassInfo("DeferredPropertyNames");
diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp
index 5479463..2d86e09 100644
--- a/src/declarative/qml/qmlengine.cpp
+++ b/src/declarative/qml/qmlengine.cpp
@@ -1299,11 +1299,11 @@ static QmlTypeNameCache *cacheForNamespace(QmlEngine *engine, const QmlEnginePri
QList<QmlType *> types = QmlMetaType::qmlTypes();
- for (int ii = 0; ii < set.urls.count(); ++ii) {
+ for (int ii = 0; ii < set.uris.count(); ++ii) {
if (!set.isBuiltin.at(ii))
continue;
- QByteArray base = set.urls.at(ii).toUtf8() + '/';
+ QByteArray base = set.uris.at(ii).toUtf8() + '/';
int major = set.majversions.at(ii);
int minor = set.minversions.at(ii);
diff --git a/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
index 56c500c..bf95a54 100644
--- a/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
+++ b/tests/auto/declarative/qmllanguage/tst_qmllanguage.cpp
@@ -743,7 +743,6 @@ void tst_qmllanguage::cppnamespace()
{
QmlComponent component(&engine, TEST_FILE("cppnamespace.2.qml"));
- qWarning() << component.errors();
VERIFY_ERRORS(0);
QObject *object = component.create();
QVERIFY(object != 0);