Show
Ignore:
Timestamp:
07/11/08 05:34:54 (5 months ago)
Author:
eugene
Message:

Fixed the phone icons suppression conditions.

Files:
1 modified

Legend:

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

    r6268 r6444  
    479479#endif 
    480480 
    481       if (arg.status != ContactListModel::OfflineStatus && Config::ContactList::instance()->showPhoneIcons()) 
     481      if (arg.status != ContactListModel::OfflineStatus) 
    482482      { 
    483         EXTICON(ContactListModel::PhoneFollowMeActiveStatus, 
    484             IconManager::PfmActiveIcon); 
    485         else 
    486         EXTICON(ContactListModel::PhoneFollowMeBusyStatus, 
    487             IconManager::PfmBusyIcon); 
    488  
    489         EXTICON(ContactListModel::IcqPhoneActiveStatus, 
    490             IconManager::IcqPhoneActiveIcon); 
    491         EXTICON(ContactListModel::IcqPhoneBusyStatus, 
    492             IconManager::IcqPhoneBusyIcon); 
     483        if (Config::ContactList::instance()->showPhoneIcons()) 
     484        { 
     485          EXTICON(ContactListModel::PhoneFollowMeActiveStatus, 
     486              IconManager::PfmActiveIcon); 
     487          else 
     488          EXTICON(ContactListModel::PhoneFollowMeBusyStatus, 
     489              IconManager::PfmBusyIcon); 
     490 
     491          EXTICON(ContactListModel::IcqPhoneActiveStatus, 
     492              IconManager::IcqPhoneActiveIcon); 
     493          EXTICON(ContactListModel::IcqPhoneBusyStatus, 
     494              IconManager::IcqPhoneBusyIcon); 
     495        } 
    493496 
    494497        EXTICON(ContactListModel::SharedFilesStatus, IconManager::SharedFilesIcon);