Show
Ignore:
Timestamp:
06/17/08 03:17:21 (6 months ago)
Author:
flynd
Message:

Group id may be larger than number of groups. This caused some groups to not be displayed correctly in main contact list.

Files:
1 modified

Legend:

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

    r6312 r6321  
    542542    return createIndex(myUserGroups.size() + id, 0, mySystemGroups[id]); 
    543543  } 
    544   else if (type == GROUPS_USER && static_cast<int>(id) < myUserGroups.size()) 
     544  else if (type == GROUPS_USER) 
    545545  { 
    546546    for (int i = 0; i < myUserGroups.size(); ++i)