summaryrefslogtreecommitdiffstats
path: root/sip/tqt/tqptrlist.sip
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2023-01-22 15:01:29 +0100
committerSlávek Banko <slavek.banko@axis.cz>2023-01-23 02:57:40 +0100
commit4feca443fb45a87fa971fe7f24c9dd3128643c19 (patch)
treecafb62865ab0f282e8d8a4b0f8765e173e4f36c3 /sip/tqt/tqptrlist.sip
parent16434e5519f6224e231bc5f7202f0e495eda7bb7 (diff)
downloadpytqt-4feca443fb45a87fa971fe7f24c9dd3128643c19.tar.gz
pytqt-4feca443fb45a87fa971fe7f24c9dd3128643c19.zip
temporary commit to show changes
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'sip/tqt/tqptrlist.sip')
-rw-r--r--sip/tqt/tqptrlist.sip8
1 files changed, 4 insertions, 4 deletions
diff --git a/sip/tqt/tqptrlist.sip b/sip/tqt/tqptrlist.sip
index 5250eb8..bd162cf 100644
--- a/sip/tqt/tqptrlist.sip
+++ b/sip/tqt/tqptrlist.sip
@@ -83,24 +83,24 @@ template<Type>
return 1;
}
- TQPtrList<Type> *qpl = new TQPtrList<Type>;
+ TQPtrList<Type> *tqpl = new TQPtrList<Type>;
for (int i = 0; i < PyList_GET_SIZE(sipPy); ++i)
{
// 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.
- qpl -> append(reinterpret_cast<Type *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_Type,0,0,0,sipIsErr)));
+ tqpl -> append(reinterpret_cast<Type *>(sipConvertToInstance(PyList_GET_ITEM(sipPy,i),sipClass_Type,0,0,0,sipIsErr)));
if (*sipIsErr)
{
- delete qpl;
+ delete tqpl;
return 0;
}
}
- *sipCppPtr = qpl;
+ *sipCppPtr = tqpl;
return sipGetState(sipTransferObj);
%End