From 16e70231d7b59b5ab181597c295253cccb80b235 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 26 Feb 2014 18:43:28 +0100 Subject: Add a column to the default method error message This brings both compilers in sync by reporting line and column if doing a signal object assignment without a default method. Change-Id: I8b1bf90c4ce3cd7b117ad7eecdbfe319b07b1191 Reviewed-by: Lars Knoll --- tests/auto/quick/qquickloader/tst_qquickloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/quick/qquickloader') diff --git a/tests/auto/quick/qquickloader/tst_qquickloader.cpp b/tests/auto/quick/qquickloader/tst_qquickloader.cpp index 1e23d689ff..877bb59613 100644 --- a/tests/auto/quick/qquickloader/tst_qquickloader.cpp +++ b/tests/auto/quick/qquickloader/tst_qquickloader.cpp @@ -831,7 +831,7 @@ void tst_QQuickLoader::nonItem() void tst_QQuickLoader::vmeErrors() { QQmlComponent component(&engine, testFileUrl("vmeErrors.qml")); - QString err = testFileUrl("VmeError.qml").toString() + ":6: Cannot assign object type QObject with no default method"; + QString err = testFileUrl("VmeError.qml").toString() + ":6:26: Cannot assign object type QObject with no default method"; QTest::ignoreMessage(QtWarningMsg, err.toLatin1().constData()); QQuickLoader *loader = qobject_cast(component.create()); QVERIFY(loader); -- cgit v1.2.3