summaryrefslogtreecommitdiffstats
path: root/sip/kdeui/kkeydialog.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kdeui/kkeydialog.sip')
-rw-r--r--sip/kdeui/kkeydialog.sip3
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 (&current_key, sipClass_QCString, sipTransferObj);
PyObject *a1 = PyInt_FromLong ((long) it.current ());
if ((a0 == NULL) || (a1 == NULL) || (PyDict_SetItem (dict, a0, a1) < 0))