Declarative: Fix MSVC and g++ warnings
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Tue, 18 Oct 2011 09:00:02 +0000 (11:00 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 19 Oct 2011 08:31:31 +0000 (10:31 +0200)
commit5ddcd47dbdab9710a547244d29fe038bde3d8c98
treefb6176ee512708eabc01cbe43f557c4d306e8c82
parent8f72ef77d1f37b46583deed532951c6b0e5937ae
Declarative: Fix MSVC and g++ warnings

Potentially severe:
- Fix int/bool mismatches
- Use of uninitialized variable
- Do connectionMask shift operations in 64bit
- Enum type mismatch for QLineControl::EchoMode

Various:
- class/struct mismatches
- UnhandledEnumeration values
- Unused variables
- Constructor initialization order

Change-Id: Ieb52f8990445fe95f94070175a0f9beb66863240
Reviewed-by: Martin Jones <martin.jones@nokia.com>
17 files changed:
src/declarative/items/context2d/qsgcontext2dcommandbuffer.cpp
src/declarative/items/context2d/qsgcontext2dtexture.cpp
src/declarative/items/qsgspriteengine.cpp
src/declarative/items/qsgspriteengine_p.h
src/declarative/items/qsgtextinput.cpp
src/declarative/particles/qsgparticlesystem.cpp
src/declarative/particles/qsgspritegoal.cpp
src/declarative/qml/qdeclarativedata_p.h
src/declarative/qml/qdeclarativeengine.cpp
src/declarative/qml/qdeclarativeextensioninterface.h
src/declarative/qml/qdeclarativepropertycache.cpp
src/declarative/qml/v4/qv4bindings_p.h
src/declarative/qml/v8/qv8engine.cpp
src/declarative/qml/v8/qv8variantwrapper.cpp
src/declarative/scenegraph/coreapi/qsgnodeupdater.cpp
src/declarative/scenegraph/util/qsgvertexcolormaterial.cpp
src/qtquick1/graphicsitems/qdeclarativetextinput.cpp