Show
Ignore:
Timestamp:
04/17/08 03:04:12 (8 months ago)
Author:
flynd
Message:

Added option to hide phone statuses from extended icons without hiding other icons.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/views/contactdelegate.cpp

    r6150 r6156  
    459459    if (Config::ContactList::instance()->showExtendedIcons()) 
    460460    { 
    461       EXTICON(ContactListModel::PhoneStatus, IconManager::PhoneIcon); 
    462       EXTICON(ContactListModel::CellularStatus, IconManager::CellularIcon); 
     461      if (Config::ContactList::instance()->showPhoneIcons()) 
     462      { 
     463        EXTICON(ContactListModel::PhoneStatus, IconManager::PhoneIcon); 
     464        EXTICON(ContactListModel::CellularStatus, IconManager::CellularIcon); 
     465      } 
    463466      EXTICON(ContactListModel::BirthdayStatus, IconManager::BirthdayIcon); 
    464467      EXTICON(ContactListModel::InvisibleStatus, IconManager::InvisibleIcon); 
     
    475478#endif 
    476479 
    477       if (arg.status != ContactListModel::OfflineStatus) 
     480      if (arg.status != ContactListModel::OfflineStatus && Config::ContactList::instance()->showPhoneIcons()) 
    478481      { 
    479482        EXTICON(ContactListModel::PhoneFollowMeActiveStatus,