qml-app properly initialize ChatView.gxsInfo

Use proper Qml empty object notation instead of string to inistalize
property of type var as it is an object not a string, thus fixing the
assiciated warning
This commit is contained in:
Gioacchino Mazzurco 2017-10-08 11:44:51 +02:00
parent 3530353678
commit 9ba7b5cf47

View File

@ -28,7 +28,7 @@ Item
{ {
id: chatView id: chatView
property string chatId property string chatId
property var gxsInfo: "" property var gxsInfo: ({})
property int token: 0 property int token: 0
property string objectName:"chatView" property string objectName:"chatView"