mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 09:27:09 -05:00
Merge branch 'qml_app_ui_improvements' into GSoC2017-evaluation-II
This commit is contained in:
commit
c790a5bff4
@ -257,6 +257,7 @@ Item
|
||||
}
|
||||
function reset ()
|
||||
{
|
||||
msgField.text = ""
|
||||
Qt.inputMethod.reset()
|
||||
}
|
||||
}
|
||||
@ -362,13 +363,13 @@ Item
|
||||
{
|
||||
if (emojiPicker.state == "EMOJI_SHOWN") emojiPicker.state = "EMOJI_HIDDEN"
|
||||
|
||||
var msgText = getCompleteMessageText()
|
||||
msgField.text = getCompleteMessageText () + " " // Needed to prevent pre edit text problems
|
||||
var msgText = msgField.text
|
||||
|
||||
var jsonData = {"chat_id":chatView.chatId, "msg":msgText}
|
||||
rsApi.request( "/chat/send_message", JSON.stringify(jsonData),
|
||||
function(par)
|
||||
{
|
||||
msgField.text = ""
|
||||
msgField.reset();
|
||||
})
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ Item
|
||||
{
|
||||
id: delegate
|
||||
width: parent.width
|
||||
height: locationButton.height + 5
|
||||
height: 60
|
||||
Rectangle
|
||||
{
|
||||
id: backgroundRectangle
|
||||
@ -171,6 +171,7 @@ Item
|
||||
{
|
||||
id: locationButton
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
text: model.name
|
||||
borderRadius:0
|
||||
iconUrl: "/icons/edit-image-face-detect.svg"
|
||||
|
@ -136,6 +136,7 @@ Item
|
||||
id: contactAvatar
|
||||
anchors.fill: parent
|
||||
visible: compRoot.has_avatar
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
||||
Faces
|
||||
|
Loading…
Reference in New Issue
Block a user