Skip to content

Commit

Permalink
Ensure strings in main window QML are presented as plain text and not…
Browse files Browse the repository at this point in the history
… HTML

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
  • Loading branch information
claucambra committed Sep 26, 2022
1 parent d49baad commit d7a70e7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/tray/Window.qml
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ ApplicationWindow {
Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
width: Style.currentAccountLabelWidth
text: UserModel.currentUser.name
textFormat: Text.PlainText
elide: Text.ElideRight
color: UserModel.currentUser.headerTextColor

Expand All @@ -480,6 +481,7 @@ ApplicationWindow {
visible: UserModel.currentUser.statusEmoji !== ""
width: Style.userStatusEmojiSize
text: UserModel.currentUser.statusEmoji
textFormat: Text.PlainText
}
Label {
id: message
Expand All @@ -490,6 +492,7 @@ ApplicationWindow {
text: UserModel.currentUser.statusMessage !== ""
? UserModel.currentUser.statusMessage
: UserModel.currentUser.server
textFormat: Text.PlainText
elide: Text.ElideRight
color: UserModel.currentUser.headerTextColor
font.pixelSize: Style.subLinePixelSize
Expand Down

0 comments on commit d7a70e7

Please sign in to comment.