summaryrefslogtreecommitdiff
path: root/controller.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 15:45:53 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 15:45:53 +0800
commit3ff407da9dc31cfe9daec5ffab442e53e2768351 (patch)
treea6f9a25152d8871c7384dc72037c04d01fb0e02c /controller.cxx
parentb40a4cfa15c9cac1e4c91b1bfd48347367c6a9e5 (diff)
Minor type syntax change
Diffstat (limited to 'controller.cxx')
-rw-r--r--controller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.cxx b/controller.cxx
index 7f8d2a0..a08e633 100644
--- a/controller.cxx
+++ b/controller.cxx
@@ -4,7 +4,7 @@
Controller::Controller(QObject* parent) : QObject{parent}
{
- Worker* worker = new Worker;
+ auto worker = new Worker;
worker->moveToThread(&thread);
connect(&thread, &QThread::finished, worker, &QObject::deleteLater);