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
|
@ -76,17 +76,17 @@ QVariant Models::Roster::data (const QModelIndex& index, int role) const
|
|||
switch (item->type) {
|
||||
case Item::account:{
|
||||
Account* acc = static_cast<Account*>(item);
|
||||
result = acc->getStatusIcon();
|
||||
result = acc->getStatusIcon(false);
|
||||
}
|
||||
break;
|
||||
case Item::contact:{
|
||||
Contact* contact = static_cast<Contact*>(item);
|
||||
result = contact->getStatusIcon();
|
||||
result = contact->getStatusIcon(false);
|
||||
}
|
||||
break;
|
||||
case Item::presence:{
|
||||
Presence* presence = static_cast<Presence*>(item);
|
||||
result = presence->getStatusIcon();
|
||||
result = presence->getStatusIcon(false);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue