diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-07 17:42:11 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-07 17:42:11 +0800 |
commit | e04036b24aef79b9b7eb370c35c9f7b8ade77846 (patch) | |
tree | 3a3855d902a1f6f13c36ae2c82bcb5ff9b05635a /worker.hxx | |
parent | 129d7c1a7962e3552983e11593f764906994f1dc (diff) |
The worker cannot have a parent
because it has to be moved to a different thread
Diffstat (limited to 'worker.hxx')
-rw-r--r-- | worker.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,12 +8,12 @@ class Worker : public QObject Q_OBJECT public: - explicit Worker(QObject* parent = nullptr); - virtual ~Worker(); + Worker(); + ~Worker(); public slots: void logIn(QString const& name, QString const& password); - void getTaskList(); + void search(QString const& owner); }; #endif // WORKER_HXX |