Update to Qt 5.8.0

Simplified android buinding and updated documentation
Removed a bunch of unused qml files
This commit is contained in:
Gioacchino Mazzurco 2017-03-15 23:11:50 +01:00
parent 2630ed4573
commit 5a219b4d10
19 changed files with 81 additions and 665 deletions

View file

@ -7,7 +7,11 @@ Item
id: chatView
property string chatId
function refreshData() { rsApi.request("/chat/messages/"+ chatId, "", function(par) { chatModel.json = par.response }) }
function refreshData()
{
rsApi.request( "/chat/messages/"+ chatId, "",
function(par) { chatModel.json = par.response } )
}
onFocusChanged: focus && refreshData()
@ -66,7 +70,8 @@ Item
onClicked:
{
var jsonData = {"chat_id":chatView.chatId, "msg":msgComposer.text}
rsApi.request("/chat/send_message", JSON.stringify(jsonData), function(par) { msgComposer.text = ""; console.log(msg) })
rsApi.request( "/chat/send_message", JSON.stringify(jsonData),
function(par) { msgComposer.text = ""; } )
}
}