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:
Christian Kandeler
2023-08-10 14:22:17 +02:00
parent 973f74bad3
commit b3c7e3abd6
2 changed files with 3 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ ThreadedParser::ThreadedParser(QObject *parent)
: QObject(parent) : QObject(parent)
{} {}
ThreadedParser::~ThreadedParser() = default;
bool ThreadedParser::isRunning() const bool ThreadedParser::isRunning() const
{ {
return m_parserThread ? m_parserThread->isRunning() : false; return m_parserThread ? m_parserThread->isRunning() : false;

View File

@@ -25,6 +25,7 @@ class ThreadedParser : public QObject
public: public:
explicit ThreadedParser(QObject *parent = nullptr); explicit ThreadedParser(QObject *parent = nullptr);
~ThreadedParser();
/// interface additions relative to Parser because Parser is synchronous and this /// interface additions relative to Parser because Parser is synchronous and this
/// class parses asynchronously in a non-public secondary thread. /// class parses asynchronously in a non-public secondary thread.