diff options
Diffstat (limited to 'controller.cxx')
-rw-r--r-- | controller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.cxx b/controller.cxx index 4962072..7f8d2a0 100644 --- a/controller.cxx +++ b/controller.cxx @@ -4,7 +4,7 @@ Controller::Controller(QObject* parent) : QObject{parent} { - Worker* worker = new Worker{parent}; + Worker* worker = new Worker; worker->moveToThread(&thread); connect(&thread, &QThread::finished, worker, &QObject::deleteLater); |