diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-11-25 08:49:45 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-28 09:06:52 +0100 |
commit | 7f20428c91bad817b2d350536756dd55a8d2103b (patch) | |
tree | 6f8fedd485d2a0a18c31560020b504bdf82efb35 /tests/auto/declarative/qdeclarativemoduleplugin | |
parent | d0d12171b06d568bfcc7717471f4af5b877cfc1f (diff) |
QtDeclarative: Fix warnings in tests.
- Unused parameters
- Missing interfaces
- tst_QQuickListView: Fix call canvas->rootContext()->setContextProperty
to use a QVariant (instead of implicitly converting to QObject*)
which was apparently intended.
Change-Id: Idc95d9408051e6f5b7005a7eccd764ac218ff867
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/declarative/qdeclarativemoduleplugin')
-rw-r--r-- | tests/auto/declarative/qdeclarativemoduleplugin/pluginMixed/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativemoduleplugin/pluginMixed/plugin.cpp b/tests/auto/declarative/qdeclarativemoduleplugin/pluginMixed/plugin.cpp index 977a60c514..3a6ccc9999 100644 --- a/tests/auto/declarative/qdeclarativemoduleplugin/pluginMixed/plugin.cpp +++ b/tests/auto/declarative/qdeclarativemoduleplugin/pluginMixed/plugin.cpp @@ -46,7 +46,7 @@ class BarPluginType : public QObject { Q_OBJECT - Q_PROPERTY(int value READ value); + Q_PROPERTY(int value READ value) public: int value() const { return 16; } |