diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2012-06-13 12:10:18 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-20 17:22:31 +0200 |
commit | 58f3f50c43f021ebfe214062562498d02b6f2071 (patch) | |
tree | 17e02ef27ee8d0e76eaf25f800836121b4c9b85e /tests/auto/qml/debugger/shared | |
parent | e884e15615dc97c95704835756680b9c38be29ea (diff) |
Fix warnings in declarative tests.
- Unused variables and test data.
- () around operator &&.
- Conversion of false to 0-pointer where QVariant was intended.
- Missing enumeration value.
- Remove duplicated qqmlecmascript entry from qml.pro
(has an internal check for no-widgets).
Change-Id: Ie030167e22bce26e3988a4406c630fb460f61a3c
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/qml/debugger/shared')
-rw-r--r-- | tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp b/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp index 33f5fc6ab9..884bb7a704 100644 --- a/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp +++ b/tests/auto/qml/debugger/shared/qqmldebugtestservice.cpp @@ -54,7 +54,7 @@ void QQmlDebugTestService::messageReceived(const QByteArray &ba) QMetaObject::invokeMethod(this, "_sendMessage", Qt::QueuedConnection, Q_ARG(QByteArray, ba)); } -void QQmlDebugTestService::stateAboutToBeChanged(QQmlDebugService::State state) +void QQmlDebugTestService::stateAboutToBeChanged(QQmlDebugService::State) { Q_ASSERT(QThread::currentThread() != thread()); } |