summaryrefslogtreecommitdiff
path: root/Login.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Login.qml')
-rw-r--r--Login.qml10
1 files changed, 4 insertions, 6 deletions
diff --git a/Login.qml b/Login.qml
index 17f60d1..b79ec87 100644
--- a/Login.qml
+++ b/Login.qml
@@ -2,14 +2,12 @@ import QtQuick 2.12
LoginForm {
signal logIn(string name, string password)
+ function createProfile() {
+ stackView.push("qrc:/pages/CreateProfile.qml")
+ }
objectName: "login"
width: appWindow.width
height: appWindow.height
-
- emailButton {
- onClicked: {
- stackView.push("qrc:/pages/Email.qml")
- }
- }
+ emailButton.onClicked: stackView.push("qrc:/pages/Email.qml")
}