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/kdeui | |
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/kdeui')
-rw-r--r-- | sip/kdeui/kkeydialog.sip | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sip/kdeui/kkeydialog.sip b/sip/kdeui/kkeydialog.sip index eb6b8e6..b716a28 100644 --- a/sip/kdeui/kkeydialog.sip +++ b/sip/kdeui/kkeydialog.sip @@ -204,7 +204,8 @@ typedef QDict<int> IntDict; while (it.current ()) { - PyObject *a0 = sipConvertFromInstance (&it.currentKey (), sipClass_QCString, sipTransferObj); + QString current_key = it.currentKey (); + PyObject *a0 = sipConvertFromInstance (¤t_key, sipClass_QCString, sipTransferObj); PyObject *a1 = PyInt_FromLong ((long) it.current ()); if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0)) |