forked from qt-creator/qt-creator
Valgrind: Remove some unused QObject parent
Change-Id: Ieef2c25d64b4a82743ce25da54c9d364548eb8d6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -644,9 +644,8 @@ void Parser::parse(QIODevice *device)
|
|||||||
d->parse(device);
|
d->parse(device);
|
||||||
}
|
}
|
||||||
|
|
||||||
Parser::Parser(QObject *parent)
|
Parser::Parser()
|
||||||
: QObject(parent),
|
: d(new Private(this))
|
||||||
d(new Private(this))
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -50,7 +50,7 @@ class Parser : public QObject
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Parser(QObject *parent = nullptr);
|
Parser();
|
||||||
~Parser() override;
|
~Parser() override;
|
||||||
|
|
||||||
// get and take ownership of the parsing results. If this function is not called the repository
|
// get and take ownership of the parsing results. If this function is not called the repository
|
||||||
|
Reference in New Issue
Block a user