Show
Ignore:
Timestamp:
04/05/08 17:59:07 (8 months ago)
Author:
flynd
Message:

Added range checking on group id so system groups doesn't change state for other groups.

Files:
1 modified

Legend:

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

    r5939 r6126  
    375375void Config::ContactList::setGroupState(unsigned short group, bool expanded) 
    376376{ 
     377  if(group > 31) 
     378    group = 31; 
     379 
    377380  if (expanded) 
    378381    myGroupStates |= (1 << group);