diff options
Diffstat (limited to 'sip/tqt/tqdir.sip')
| -rw-r--r-- | sip/tqt/tqdir.sip | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sip/tqt/tqdir.sip b/sip/tqt/tqdir.sip index 1d4c8db..1f1186f 100644 --- a/sip/tqt/tqdir.sip +++ b/sip/tqt/tqdir.sip @@ -89,27 +89,27 @@ the return type of a function or the type of an argument, a Python list of return 1; } - TQFileInfoList *qfil = new TQFileInfoList; + TQFileInfoList *tqfil = new TQFileInfoList; for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i) { - TQFileInfo *qfi; + TQFileInfo *tqfi; // We apply the transfer to the list itself, not the elements. // Note that any temporary element will never be destroyed. // There is nothing that can be done about this. - qfi = reinterpret_cast<TQFileInfo *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQFileInfo,0,0,0,sipIsErr)); + tqfi = reinterpret_cast<TQFileInfo *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_TQFileInfo,0,0,0,sipIsErr)); if (*sipIsErr) { - delete qfil; + delete tqfil; return 0; } - qfil -> append(qfi); + tqfil -> append(tqfi); } - *sipCppPtr = qfil; + *sipCppPtr = tqfil; return sipGetState(sipTransferObj); %End |
