Fix imageprovider.

This commit is contained in:
Black Hat
2018-07-07 19:06:13 +08:00
parent 17fa7cc7da
commit b3c0dc9421
12 changed files with 66 additions and 51 deletions

View File

@@ -16,7 +16,7 @@ Item {
background: Item {
anchors.fill: parent
visible: currentRoom == null
visible: currentRoom === null
Pane {
anchors.fill: parent
}
@@ -32,7 +32,7 @@ Item {
anchors.fill: parent
spacing: 0
visible: currentRoom != null
visible: currentRoom !== null
Pane {
z: 10
@@ -61,7 +61,7 @@ Item {
Label {
Layout.fillWidth: true
text: currentRoom != null ? currentRoom.name : ""
text: currentRoom !== null ? currentRoom.displayName : ""
font.pointSize: 16
elide: Text.ElideRight
wrapMode: Text.NoWrap
@@ -69,7 +69,7 @@ Item {
Label {
Layout.fillWidth: true
text: currentRoom != null ? currentRoom.topic : ""
text: currentRoom !== null ? currentRoom.topic : ""
elide: Text.ElideRight
wrapMode: Text.NoWrap
}