forked from blue/squawk
fallback availabiluty icons, chatty icon
This commit is contained in:
parent
833913cac2
commit
12511b1864
18 changed files with 399 additions and 51 deletions
|
@ -140,12 +140,12 @@ void Models::Presence::dropMessages()
|
|||
}
|
||||
}
|
||||
|
||||
QIcon Models::Presence::getStatusIcon() const
|
||||
QIcon Models::Presence::getStatusIcon(bool big) const
|
||||
{
|
||||
if (getMessagesCount() > 0) {
|
||||
return QIcon::fromTheme("mail-message");
|
||||
} else {
|
||||
return QIcon::fromTheme(Shared::availabilityThemeIcons[availability]);
|
||||
return Shared::availabilityIcon(availability, big);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue