diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-05-05 23:39:31 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-05-05 23:39:31 (GMT) |
commit | 2df39e548264617b8e10fae32bdafbfe2edcd895 (patch) | |
tree | a04e220832320642e635e75e5bd908f907fbebf9 /src/declarative/qml/qdeclarativeinfo.cpp | |
parent | 053fcebb7ef1b3899b656d511437a8139ee012b7 (diff) | |
download | Qt-2df39e548264617b8e10fae32bdafbfe2edcd895.zip Qt-2df39e548264617b8e10fae32bdafbfe2edcd895.tar.gz Qt-2df39e548264617b8e10fae32bdafbfe2edcd895.tar.bz2 |
Fix some compiler warnings.
Diffstat (limited to 'src/declarative/qml/qdeclarativeinfo.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeinfo.cpp b/src/declarative/qml/qdeclarativeinfo.cpp index ffed14e..c980a2a 100644 --- a/src/declarative/qml/qdeclarativeinfo.cpp +++ b/src/declarative/qml/qdeclarativeinfo.cpp @@ -78,8 +78,9 @@ QT_BEGIN_NAMESPACE \endcode */ -struct QDeclarativeInfoPrivate +class QDeclarativeInfoPrivate { +public: QDeclarativeInfoPrivate() : ref (1), object(0) {} int ref; |