diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-13 22:44:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-13 22:44:21 +0000 |
commit | 83ee79237f6141a1b7d5534db717a26d911112e4 (patch) | |
tree | c6614d32d6f760703f7f23687486425cf5fe565a /sip/kmdi | |
parent | 969673f24ba313cb42262200403ccac2b4316328 (diff) | |
download | pytde-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/kmdi')
-rw-r--r-- | sip/kmdi/kmdichildfrm.sip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sip/kmdi/kmdichildfrm.sip b/sip/kmdi/kmdichildfrm.sip index 8cf16ef..62f78fb 100644 --- a/sip/kmdi/kmdichildfrm.sip +++ b/sip/kmdi/kmdichildfrm.sip @@ -218,7 +218,8 @@ protected: while (it.current ()) { - PyObject *a0 = sipConvertFromInstance (&it.currentKey (), sipClass_QString, sipTransferObj); + QString current_key = it.currentKey (); + PyObject *a0 = sipConvertFromInstance (¤t_key, sipClass_QString, sipTransferObj); PyObject *a1 = PyInt_FromLong ((long) it.current ()); if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0)) |