diff options
-rw-r--r-- | controller.cxx | 6 | ||||
m--------- | qrtclient | 0 |
2 files changed, 4 insertions, 2 deletions
diff --git a/controller.cxx b/controller.cxx index d77abfa..c9403dd 100644 --- a/controller.cxx +++ b/controller.cxx @@ -17,7 +17,9 @@ Controller::Controller(QObject* parent) : QObject{parent} auto loginView = appWindow->findChild<QObject*>("login"); connect(loginView, SIGNAL(logIn(QString, QString)) , client, SLOT(logIn(QString, QString))); - connect(client, SIGNAL(logged(rtclient_user*)) + connect(client, SIGNAL(loggedIn(QString)) + , client, SLOT(userShow(QString))); + connect(client, SIGNAL(userShown(rtclient_user*)) , loginView, SLOT(pushProfile())); connect(loginView, SIGNAL(ticketNew(QString, QString)) , client, SLOT(ticketNew(QString, QString))); @@ -33,7 +35,7 @@ Controller::Controller(QObject* parent) : QObject{parent} return new User; }); auto user = engine->singletonInstance<User*>(typeId); - connect(client, SIGNAL(logged(rtclient_user*)) + connect(client, SIGNAL(userShown(rtclient_user*)) , user, SLOT(update(rtclient_user*))); taskList = new RTClient::TicketList; diff --git a/qrtclient b/qrtclient -Subproject 0b05904d38acb050ead71ad256d59f70b9c9fe8 +Subproject 61c312c1e059b97ff131d375af78c7362bb0fc5 |