aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvme.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2014-02-26 18:43:28 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-02 17:10:51 +0100
commit16e70231d7b59b5ab181597c295253cccb80b235 (patch)
tree581fcd249621af26dc53d4eb4387e1f94d8f966f /src/qml/qml/qqmlvme.cpp
parentb4e67a087e49e1a976a98977efc29e279285ae55 (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 'src/qml/qml/qqmlvme.cpp')
-rw-r--r--src/qml/qml/qqmlvme.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlvme.cpp b/src/qml/qml/qqmlvme.cpp
index 83c1f6595c..24f4a65392 100644
--- a/src/qml/qml/qqmlvme.cpp
+++ b/src/qml/qml/qqmlvme.cpp
@@ -775,7 +775,7 @@ QObject *QQmlVME::run(QList<QQmlError> *errors,
QMetaMethod method = QQmlMetaType::defaultMethod(assign);
if (!method.isValid())
- VME_EXCEPTION(tr("Cannot assign object type %1 with no default method").arg(QString::fromLatin1(assign->metaObject()->className())), instr.line);
+ VME_EXCEPTION_WITH_COLUMN(tr("Cannot assign object type %1 with no default method").arg(QString::fromLatin1(assign->metaObject()->className())), instr.line, instr.column);
if (!QMetaObject::checkConnectArgs(prop.method(), method)) {
VME_EXCEPTION(tr("Cannot connect mismatched signal/slot %1 %vs. %2")