diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-07 17:17:25 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-07 17:17:25 +0800 |
commit | 8fc9bc97f509cb7e637eb4e3e118c68c3022ac2f (patch) | |
tree | 2e7e3b665d0b613183a810a7fec2154748f3d593 /controller.cxx | |
parent | 16bc24b796de76ec1a5fa66dcfe2129a2b02d370 (diff) |
Separated the function to get the task list
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 757d475..4962072 100644 --- a/controller.cxx +++ b/controller.cxx @@ -4,7 +4,7 @@ Controller::Controller(QObject* parent) : QObject{parent} { - Worker* worker = new Worker{}; + Worker* worker = new Worker{parent}; worker->moveToThread(&thread); connect(&thread, &QThread::finished, worker, &QObject::deleteLater); |