diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 15:45:53 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 15:45:53 +0800 |
commit | 3ff407da9dc31cfe9daec5ffab442e53e2768351 (patch) | |
tree | a6f9a25152d8871c7384dc72037c04d01fb0e02c | |
parent | b40a4cfa15c9cac1e4c91b1bfd48347367c6a9e5 (diff) |
Minor type syntax change
-rw-r--r-- | controller.cxx | 2 |
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); |