}
function onErr(status) {
- hide()
if(status==401) {
+ hide()
tip.show(qsTr("Ubuntu One authorization has failed. Try once again or check login settings."));
} else if(status==0) {
- tip.show(qsTr("Unable to connect. Check internet connection."));
+ hide()
+ tip.show(qsTr("Unable to connect. Check internet connection and restart application."));
} else {
+ hide()
tip.show(qsTr("Unknown error: ")+status);
}
}
}
BusyIndicator {
+ id: busy
anchors.horizontalCenter: parent.horizontalCenter
running: true
}
}
+ Button {
+ id: close
+ iconSource: "images/close.png"
+ anchors { right: parent.right; top: parent.top; margins: Const.DEFAULT_MARGIN }
+ onButtonClicked: Qt.quit()
+ }
+
Text {
anchors.bottom: ver.top
anchors.horizontalCenter: parent.horizontalCenter