summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Login.qml2
-rw-r--r--controller.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Login.qml b/Login.qml
index b79ec87..0220a23 100644
--- a/Login.qml
+++ b/Login.qml
@@ -2,7 +2,7 @@ import QtQuick 2.12
LoginForm {
signal logIn(string name, string password)
- function createProfile() {
+ function pushProfile() {
stackView.push("qrc:/pages/CreateProfile.qml")
}
diff --git a/controller.cxx b/controller.cxx
index b256a3e..b1ba81b 100644
--- a/controller.cxx
+++ b/controller.cxx
@@ -16,7 +16,7 @@ Controller::Controller(QObject* parent) : QObject{parent}
auto loginView = appWindow->findChild<QObject*>("login");
connect(loginView, SIGNAL(logIn(QString, QString)),
worker, SLOT(logIn(QString, QString)));
- connect(worker, SIGNAL(logged(rt_user*)), loginView, SLOT(createProfile()));
+ connect(worker, SIGNAL(logged(rt_user*)), loginView, SLOT(pushProfile()));
auto user = engine->singletonInstance<User*>(User::typeId);
connect(worker, SIGNAL(logged(rt_user*)), user, SLOT(update(rt_user*)));