Merge branch 'qt-launcher' of github.com:danteruiz/hifi into qt-launcher

This commit is contained in:
Ryan Huffman 2019-09-13 15:44:21 -07:00
commit acee9a130e
3 changed files with 13 additions and 2 deletions

View file

@ -5,6 +5,17 @@ Item {
id: root
anchors.fill: parent
Image {
anchors.centerIn: parent
width: parent.width
height: parent.height
mirror: true
source: "qrc:/images/hifi_window@2x.png"
transformOrigin: Item.Center
rotation: 180
}
Image {
id: logo
width: 150

View file

@ -154,6 +154,6 @@ Item {
topMargin: 15
}
onClicked: LauncherState.login(username.text, password.text)
onClicked: LauncherState.login(username.text, passwordField.text)
}
}

View file

@ -46,7 +46,7 @@ bool LatestBuilds::getBuild(QString tag, Build* outBuild) {
static const std::array<QString, LauncherState::UIState::UI_STATE_NUM> QML_FILE_FOR_UI_STATE =
{ { "SplashScreen.qml", "qml/HFBase/CreateAccountBase.qml", "DisplayName.qml",
"Download.qml", "DownloadFinished.qml", "qml/HFBase/Error.qml" } };
"qml/Download.qml", "qml/DownloadFinished.qml", "qml/HFBase/Error.qml" } };
void LauncherState::ASSERT_STATE(LauncherState::ApplicationState state) {
if (_applicationState != state) {