debugger: properly initialize test data

This commit is contained in:
hjk
2011-03-01 13:25:51 +01:00
parent 5f21a864b3
commit f78277f123

View File

@@ -148,7 +148,9 @@ class DerivedObject : public QObject
Q_OBJECT
public:
DerivedObject() {}
DerivedObject()
: QObject(*new DerivedObjectPrivate, 0)
{}
Q_PROPERTY(int x READ x WRITE setX)
Q_PROPERTY(int y READ y WRITE setY)