diff options
Diffstat (limited to 'sip/kmdi/kmdichildfrm.sip')
-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)) |