forked from qt-creator/qt-creator
Valgrind: Fix build
Amends ec53435e04.
Change-Id: Iaee2b355a98bf92c94bd66a8a615befec08b11c3
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -33,6 +33,8 @@ ThreadedParser::ThreadedParser(QObject *parent)
|
||||
: QObject(parent)
|
||||
{}
|
||||
|
||||
ThreadedParser::~ThreadedParser() = default;
|
||||
|
||||
bool ThreadedParser::isRunning() const
|
||||
{
|
||||
return m_parserThread ? m_parserThread->isRunning() : false;
|
||||
|
||||
@@ -25,6 +25,7 @@ class ThreadedParser : public QObject
|
||||
|
||||
public:
|
||||
explicit ThreadedParser(QObject *parent = nullptr);
|
||||
~ThreadedParser();
|
||||
|
||||
/// interface additions relative to Parser because Parser is synchronous and this
|
||||
/// class parses asynchronously in a non-public secondary thread.
|
||||
|
||||
Reference in New Issue
Block a user