Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 291081
Collapse All | Expand All

(-)trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlistplainmodel.cpp (-1 / +2 lines)
Lines 263-269 Link Here
263
	QModelIndexList indexList;
263
	QModelIndexList indexList;
264
	Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle);
264
	Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle);
265
265
266
	if (mc)
266
	// Contact list doesn't contain myself account contact so ignore it
267
	if (mc && mc != Kopete::ContactList::self()->myself())
267
	{
268
	{
268
		int mcPos = m_contacts.indexOf( mc );
269
		int mcPos = m_contacts.indexOf( mc );
269
		Q_ASSERT( mcPos != -1 );
270
		Q_ASSERT( mcPos != -1 );
(-)trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlisttreemodel.cpp (-2 / +3 lines)
Lines 542-548 Link Here
542
	QModelIndexList indexList;
542
	QModelIndexList indexList;
543
	Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle);
543
	Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle);
544
544
545
	if (mc)
545
	// Contact list doesn't contain myself account contact so ignore it
546
	if (mc && mc != Kopete::ContactList::self()->myself())
546
	{
547
	{
547
		// metacontact handling
548
		// metacontact handling
548
		// search for all the groups in which this contact is
549
		// search for all the groups in which this contact is
Lines 557-563 Link Here
557
				indexList.append( mcIndex );
558
				indexList.append( mcIndex );
558
		}
559
		}
559
	}
560
	}
560
	else
561
	else if (!mc)
561
	{
562
	{
562
		// group handling
563
		// group handling
563
		Kopete::Group *g = dynamic_cast<Kopete::Group*>(cle);
564
		Kopete::Group *g = dynamic_cast<Kopete::Group*>(cle);

Return to bug 291081