moved serverLogin to main
This commit is contained in:
parent
bd1a80af61
commit
9cab3341b6
3 changed files with 17 additions and 10 deletions
12
Login.qml
12
Login.qml
|
@ -1,19 +1,13 @@
|
|||
import QtQuick 2.0
|
||||
import QtQuick.Controls 1.2
|
||||
import TTRSS 1.0
|
||||
|
||||
Rectangle {
|
||||
color: "white"
|
||||
anchors.fill: parent
|
||||
|
||||
Login {
|
||||
id: ttrsslogin
|
||||
onSessionIdChanged: parent.visible = false
|
||||
}
|
||||
|
||||
function login() {
|
||||
ttrsslogin.login(serverUrl.getText(), userName.getText(), password.getText())
|
||||
}
|
||||
property string serverUrl: serverUrl.getText()
|
||||
property string userName: userName.getText()
|
||||
property string password: password.getText()
|
||||
|
||||
Column {
|
||||
width: parent.width
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue