summaryrefslogtreecommitdiff
path: root/controller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'controller.cxx')
-rw-r--r--controller.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/controller.cxx b/controller.cxx
index b1ba81b..b9bdf5e 100644
--- a/controller.cxx
+++ b/controller.cxx
@@ -17,6 +17,7 @@ Controller::Controller(QObject* parent) : QObject{parent}
connect(loginView, SIGNAL(logIn(QString, QString)),
worker, SLOT(logIn(QString, QString)));
connect(worker, SIGNAL(logged(rt_user*)), loginView, SLOT(pushProfile()));
+ connect(loginView, SIGNAL(search(QString)), worker, SLOT(search(QString)));
auto user = engine->singletonInstance<User*>(User::typeId);
connect(worker, SIGNAL(logged(rt_user*)), user, SLOT(update(rt_user*)));