mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-31 10:59:23 +00:00
fix(app): coding style
This commit is contained in:
parent
314899ac0a
commit
6788f33e5b
3 changed files with 9 additions and 6 deletions
|
|
@ -64,7 +64,7 @@ QString Presence::getPresenceLevelIconName (const PresenceLevel &level) {
|
|||
return "led_red";
|
||||
case White:
|
||||
return "led_white";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,9 +113,9 @@ ColumnLayout {
|
|||
|
||||
Text {
|
||||
Layout.fillWidth: true
|
||||
color: ContactsStyle.contact.presenceStringColor
|
||||
color: ContactsStyle.contact.presence.color
|
||||
elide: Text.ElideRight
|
||||
font.pointSize: ContactsStyle.contact.presenceStringFontSize
|
||||
font.pointSize: ContactsStyle.contact.presence.fontSize
|
||||
text: Presence.getPresenceStatusAsString($contact.presenceStatus)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ QtObject {
|
|||
property int presenceLevelSize: 12
|
||||
property int rightMargin: 25
|
||||
property int spacing: 15
|
||||
property int presenceStringFontSize: 10
|
||||
property color presenceStringColor: Colors.w
|
||||
|
||||
property QtObject backgroundColor: QtObject {
|
||||
property color normal: Colors.k
|
||||
|
|
@ -43,6 +41,11 @@ QtObject {
|
|||
property int width: 5
|
||||
}
|
||||
|
||||
property QtObject presence: QtObject {
|
||||
property int fontSize: 10
|
||||
property color color: Colors.w
|
||||
}
|
||||
|
||||
property QtObject username: QtObject {
|
||||
property color color: Colors.j
|
||||
property int fontSize: 9
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue