diff options
Diffstat (limited to 'sip/kio/kservice.sip')
-rw-r--r-- | sip/kio/kservice.sip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sip/kio/kservice.sip b/sip/kio/kservice.sip index 3712f91..fcb0aaf 100644 --- a/sip/kio/kservice.sip +++ b/sip/kio/kservice.sip @@ -235,7 +235,8 @@ typedef QValueList<KService::Ptr> List; KService::List::Iterator it; for( it = cList->begin(); it != cList->end(); ++it ) { - svc = &(KService::Ptr)(*it); + KSharedPtr <KService> svcptr = static_cast<KService::Ptr>(*it); + svc = &svcptr; inst = sipConvertFromType(svc, sipType_KService_Ptr, sipTransferObj); if ((inst == NULL) || (PyList_Append (plist, inst) < 0)) |