Changeset 6259 for branches/qt4-gui_group/src/core/mainwin.cpp
- Timestamp:
- 06/11/08 08:25:24 (6 months ago)
- Files:
-
- 1 modified
-
branches/qt4-gui_group/src/core/mainwin.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/qt4-gui_group/src/core/mainwin.cpp
r6200 r6259 773 773 myUserGroupsBox->addItem(LicqStrings::getSystemGroupName(GROUP_ALL_USERS)); 774 774 775 GroupList* g = gUserManager.LockGroupList(LOCK_R); 776 for (unsigned short i = 0; i < g->size(); i++) 777 { 778 myUserGroupsBox->addItem(QString::fromLocal8Bit((*g)[i])); 779 } 780 gUserManager.UnlockGroupList(); 775 FOR_EACH_GROUP_START_SORTED(LOCK_R) 776 { 777 myUserGroupsBox->addItem(QString::fromLocal8Bit(pGroup->name().c_str())); 778 } 779 FOR_EACH_GROUP_END 781 780 782 781 for (unsigned short i = 1; i < NUM_GROUPS_SYSTEM_ALL; i++)
