Changeset 6155 for trunk/qt4-gui/src/contactlist
- Timestamp:
- 04/17/08 02:37:40 (8 months ago)
- Files:
-
- 1 modified
-
trunk/qt4-gui/src/contactlist/contactuserdata.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/contactlist/contactuserdata.cpp
r6150 r6155 505 505 bool hasChanged = updateText(u); 506 506 gUserManager.DropUser(u); 507 508 // Check if birthday icon should be updated 509 bool birthday = (u->Birthday() == 0); 510 if (birthday != myBirthday) 511 { 512 myBirthday = birthday; 513 hasChanged = true; 514 if (myBirthday) 515 myExtendedStatus |= ContactListModel::BirthdayStatus; 516 else 517 myExtendedStatus &= ~ContactListModel::BirthdayStatus; 518 } 507 519 508 520 // To reduce performance impact on refreshs, keep track whether anything changed so we don't force unnecessary updates
