Skip to content

Commit 5fccbad

Browse files
memuratsgithub-actions
authored andcommitted
Restore UserLine.qml with original content
1 parent 73fd23e commit 5fccbad

1 file changed

Lines changed: 1 addition & 17 deletions

File tree

src/gui/tray/UserLine.qml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ AbstractButton {
114114
text: server
115115
elide: Text.ElideRight
116116
font.pixelSize: Style.subLinePixelSize
117+
visible: false
117118

118119
color: !userLine.parent.enabled
119120
? userLine.parent.palette.mid
@@ -157,23 +158,6 @@ AbstractButton {
157158
: userLine.parent.palette.text)
158159
}
159160
}
160-
161-
EnforcedPlainTextLabel {
162-
id: accountServer
163-
visible: false
164-
Layout.fillWidth: true
165-
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
166-
verticalAlignment: Text.AlignTop
167-
text: server
168-
elide: Text.ElideRight
169-
font.pixelSize: Style.subLinePixelSize
170-
171-
color: !userLine.parent.enabled
172-
? userLine.parent.palette.mid
173-
: ((userLine.parent.highlighted || userLine.parent.down) && Qt.platform.os !== "windows"
174-
? userLine.parent.palette.highlightedText
175-
: userLine.parent.palette.text)
176-
}
177161
}
178162

179163
Item { // Spacer

0 commit comments

Comments
 (0)