aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2012-02-15 10:23:33 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-16 08:31:17 +0100
commitfbddf793e94b851219fd1c7e71f857099db1cd33 (patch)
treef8e34e6304b52294c6a2ec7dcaa1ffa656dda34b /src/declarative/qml
parent0d1f29c6e026a6656430aa601ebc25459015d53e (diff)
QtDeclarative/Quick: Fix warnings.
Change-Id: I71bd638fcc41356e0b76df27ec76ad3ed5ef90d9 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativevmemetaobject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativevmemetaobject.cpp b/src/declarative/qml/qdeclarativevmemetaobject.cpp
index 18b29f3411..36a8838c75 100644
--- a/src/declarative/qml/qdeclarativevmemetaobject.cpp
+++ b/src/declarative/qml/qdeclarativevmemetaobject.cpp
@@ -736,7 +736,8 @@ int QDeclarativeVMEMetaObject::metaCall(QMetaObject::Call c, int _id, void **a)
// are not rewritten correctly but this bug is deemed out-of-scope to fix for
// performance reasons; see QTBUG-24064) and thus compilation will have failed.
QDeclarativeError e;
- e.setDescription(QString(QLatin1String("Exception occurred during compilation of function: %1")).arg(QMetaObject::method(_id).signature()));
+ e.setDescription(QString(QLatin1String("Exception occurred during compilation of function: %1")).
+ arg(QLatin1String(QMetaObject::method(_id).signature())));
ep->warning(e);
return -1; // The dynamic method with that id is not available.
}