Cppcheck warning.
--HG-- branch : develop
This commit is contained in:
parent
f6ddad1a53
commit
01798ee422
|
@ -22,7 +22,7 @@ class WorkerClass : public QObject
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
WorkerClass(QThread *thread)
|
explicit WorkerClass(QThread *thread)
|
||||||
{
|
{
|
||||||
moveToThread(thread);
|
moveToThread(thread);
|
||||||
connect(QThread::currentThread(), &QThread::finished, this, &WorkerClass::deleteLater);
|
connect(QThread::currentThread(), &QThread::finished, this, &WorkerClass::deleteLater);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user