Commit ea2054a9 authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed uninitialized members.

parent 66a3bbe3
......@@ -331,6 +331,7 @@ class QmlXmlReader
public:
QmlXmlReader(QIODevice *dev)
: _xml(dev)
, _objects(0)
{}
bool operator()(QMap<QString, FakeMetaObject *> *objects) {
......
......@@ -235,9 +235,19 @@ class Control::Data
{
public:
Data(Control *control)
: control(control),
translationUnit(0),
diagnosticClient(0)
: control(control)
, translationUnit(0)
, diagnosticClient(0)
, deprecatedId(0)
, unavailableId(0)
, objcGetterId(0)
, objcSetterId(0)
, objcReadwriteId(0)
, objcReadonlyId(0)
, objcAssignId(0)
, objcRetainId(0)
, objcCopyId(0)
, objcNonatomicId(0)
{}
~Data()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment