fix: qml warnings
This commit is contained in:
parent
e38f1b0268
commit
f52ae4f994
|
@ -52,6 +52,7 @@ Rectangle {
|
|||
let cnt = chatsModel.activeChannel.members.rowCount();
|
||||
if(cnt > 1) return qsTr("%1 members").arg(cnt);
|
||||
return qsTr("1 member");
|
||||
default: return "...";
|
||||
}
|
||||
}
|
||||
font.pixelSize: 12
|
||||
|
|
|
@ -12,8 +12,8 @@ Rectangle {
|
|||
property int channelType
|
||||
property string channelIdenticon
|
||||
id: contactImage
|
||||
width: width ? width : 36
|
||||
height: height ? height: 36
|
||||
width: 36
|
||||
height: 36
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: Theme.padding
|
||||
anchors.top: parent.top
|
||||
|
|
Loading…
Reference in New Issue