diff options
Diffstat (limited to 'Login.qml')
-rw-r--r-- | Login.qml | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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") } |