summaryrefslogtreecommitdiffstats
path: root/sip/kio/kservicetype.sip
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-13 22:44:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-13 22:44:21 +0000
commit83ee79237f6141a1b7d5534db717a26d911112e4 (patch)
treec6614d32d6f760703f7f23687486425cf5fe565a /sip/kio/kservicetype.sip
parent969673f24ba313cb42262200403ccac2b4316328 (diff)
downloadpytde-83ee79237f6141a1b7d5534db717a26d911112e4.tar.gz
pytde-83ee79237f6141a1b7d5534db717a26d911112e4.zip
Fix a number of invalid references to temporary variables in python-trinityv3.5.13
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/libraries/python-trinity@1258860 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'sip/kio/kservicetype.sip')
-rw-r--r--sip/kio/kservicetype.sip3
1 files changed, 2 insertions, 1 deletions
diff --git a/sip/kio/kservicetype.sip b/sip/kio/kservicetype.sip
index 3bed1dc..adb6897 100644
--- a/sip/kio/kservicetype.sip
+++ b/sip/kio/kservicetype.sip
@@ -240,7 +240,8 @@ protected:
QValueList<KServiceType::Ptr>::Iterator it;
for( it = cList->begin(); it != cList->end(); ++it )
{
- svc = &(KServiceType::Ptr)(*it);
+ KSharedPtr <KServiceType> svcptr = static_cast<KServiceType::Ptr>(*it);
+ svc = &svcptr;
inst = sipConvertFromType(svc, sipType_KServiceType_Ptr, sipTransferObj);
if ((inst == NULL) || (PyList_Append (plist, inst) < 0))