Show
Ignore:
Timestamp:
05/26/08 01:06:11 (6 months ago)
Author:
eugene
Message:

Made delegate retrieve group expanded state from the view instead of the model.

Files:
1 modified

Legend:

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

    r6156 r6215  
    364364  else if (arg.itemType == ContactListModel::GroupItem) 
    365365  { 
    366     if (Config::ContactList::instance()->groupState( 
    367           arg.index.data(ContactListModel::GroupIdRole).toInt())) 
     366    if (myUserView->isExpanded(arg.index)) 
    368367      icon = &iconman->getIcon(IconManager::ExpandedIcon); 
    369368    else