From e04036b24aef79b9b7eb370c35c9f7b8ade77846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 7 Sep 2019 17:42:11 +0800 Subject: The worker cannot have a parent because it has to be moved to a different thread --- worker.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'worker.hxx') diff --git a/worker.hxx b/worker.hxx index ee5f027..130d1c6 100644 --- a/worker.hxx +++ b/worker.hxx @@ -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 -- cgit v1.2.3