Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 208687 Details for
Bug 291081
Kopete crashes on connect, ebuild + patch inside
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to ignore index lookups on internal myself contact
kopete-ignore-myself-index-lookup.patch (text/plain), 1.24 KB, created by
Richard H.
on 2009-10-29 23:30:25 UTC
(
hide
)
Description:
patch to ignore index lookups on internal myself contact
Filename:
MIME Type:
Creator:
Richard H.
Created:
2009-10-29 23:30:25 UTC
Size:
1.24 KB
patch
obsolete
>--- trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlistplainmodel.cpp 2009/10/29 20:21:09 1042447 >+++ trunk/KDE/kdenetwork/kopete/kopete/kopete/contactlist/contactlistplainmodel.cpp 2009/10/29 20:23:56 1042448 >@@ -263,7 +263,8 @@ > QModelIndexList indexList; > Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle); > >- if (mc) >+ // Contact list doesn't contain myself account contact so ignore it >+ if (mc && mc != Kopete::ContactList::self()->myself()) > { > int mcPos = m_contacts.indexOf( mc ); > Q_ASSERT( mcPos != -1 ); > >--- trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlisttreemodel.cpp 2009/10/29 20:21:09 1042447 >+++ trunk/KDE/kdenetwork/kopete/kopete/contactlist/contactlisttreemodel.cpp 2009/10/29 20:23:56 1042448 >@@ -542,7 +542,8 @@ > QModelIndexList indexList; > Kopete::MetaContact *mc = dynamic_cast<Kopete::MetaContact*>(cle); > >- if (mc) >+ // Contact list doesn't contain myself account contact so ignore it >+ if (mc && mc != Kopete::ContactList::self()->myself()) > { > // metacontact handling > // search for all the groups in which this contact is >@@ -557,7 +558,7 @@ > indexList.append( mcIndex ); > } > } >- else >+ else if (!mc) > { > // group handling > Kopete::Group *g = dynamic_cast<Kopete::Group*>(cle); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 291081
:
208685
| 208687