[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdenetwork/kopete/kopete/contactlist
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2006-01-17 12:33:04
Message-ID: 1137501184.862316.13111.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 499262 by ogoffart:
backport crashfix when deleting several contact that are in several groups
M +5 -2 kopetecontactlistview.cpp
--- branches/KDE/3.5/kdenetwork/kopete/kopete/contactlist/kopetecontactlistview.cpp #499261:499262
@@ -1341,13 +1341,16 @@
if(metaLVI)
{
m_selectedContacts.append( metaLVI );
- contacts.append( metaLVI->metaContact() );
+ if(!contacts.contains(metaLVI->metaContact()))
+ contacts.append( metaLVI->metaContact() );
}
KopeteGroupViewItem *groupLVI=dynamic_cast<KopeteGroupViewItem*>(item);
if(groupLVI)
{
m_selectedGroups.append( groupLVI );
- groups.append( groupLVI->group() );
+ if(!groups.contains(groupLVI->group()))
+ groups.append( groupLVI->group() );
+
}
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic