Changeset 6312 for trunk/qt4-gui/src/contactlist/contactlist.cpp
- Timestamp:
- 06/15/08 03:06:17 (6 months ago)
- Files:
-
- 1 modified
-
trunk/qt4-gui/src/contactlist/contactlist.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/contactlist/contactlist.cpp
r6311 r6312 402 402 void ContactListModel::clear() 403 403 { 404 // Clear all users and user groups. System groups and their bars are never removed.405 404 // Clear all users and user groups. 405 // System groups and their bars are never removed. 406 406 while (!myUsers.isEmpty()) 407 407 delete myUsers.takeFirst(); 408 408 409 beginRemoveRows(QModelIndex(), 0, myUserGroups.size()-1);410 409 while (!myUserGroups.isEmpty()) 411 410 delete myUserGroups.takeFirst(); 412 endRemoveRows();413 411 } 414 412
