diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2014-02-26 18:43:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-02 17:10:51 +0100 |
commit | 16e70231d7b59b5ab181597c295253cccb80b235 (patch) | |
tree | 581fcd249621af26dc53d4eb4387e1f94d8f966f /tests/auto/quick/qquickloader | |
parent | b4e67a087e49e1a976a98977efc29e279285ae55 (diff) |
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 <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/quick/qquickloader')
-rw-r--r-- | tests/auto/quick/qquickloader/tst_qquickloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QQuickLoader*>(component.create()); QVERIFY(loader); |