mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-13 08:35:45 -04:00
Update to Qt 5.8.0
Simplified android buinding and updated documentation Removed a bunch of unused qml files
This commit is contained in:
parent
2630ed4573
commit
5a219b4d10
19 changed files with 81 additions and 665 deletions
|
@ -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 = ""; } )
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue