diff options
Diffstat (limited to 'sip/kio/kservicegroup.sip')
-rw-r--r-- | sip/kio/kservicegroup.sip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sip/kio/kservicegroup.sip b/sip/kio/kservicegroup.sip index a6d5128..bbe1847 100644 --- a/sip/kio/kservicegroup.sip +++ b/sip/kio/kservicegroup.sip @@ -235,7 +235,8 @@ public: KServiceGroup::List::Iterator it; for( it = cList->begin(); it != cList->end(); ++it ) { - svcGroupType = &(KServiceGroup::SPtr)(*it); + KSharedPtr<KSycocaEntry> svcptr = static_cast<KServiceGroup::SPtr>(*it); + svcGroupType = &svcptr; inst = sipConvertFromType(svcGroupType, sipType_KSycocaEntry_Ptr, sipTransferObj); if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) |