@@ -49,7 +49,7 @@ template <TYPE>
49
49
QVector<TYPE> *t = new QVector<TYPE>(sipCpp->at(i));
50
50
PyObject *tobj;
51
51
52
- if ((tobj = sipConvertFromMappedType (t, qvector_type, sipTransferObj )) == NULL)
52
+ if ((tobj = sipConvertFromNewType (t, qvector_type, NULL )) == NULL)
53
53
{
54
54
Py_DECREF(l);
55
55
delete t;
@@ -126,7 +126,7 @@ template <TYPE>
126
126
QVector<QVector<TYPE> > *t = new QVector<QVector<TYPE> >(sipCpp->at(i));
127
127
PyObject *tobj;
128
128
129
- if ((tobj = sipConvertFromMappedType (t, qvector_type, sipTransferObj )) == NULL)
129
+ if ((tobj = sipConvertFromNewType (t, qvector_type, NULL )) == NULL)
130
130
{
131
131
Py_DECREF(l);
132
132
delete t;
@@ -202,7 +202,7 @@ template <TYPE>
202
202
QList<TYPE> *t = new QList<TYPE>(sipCpp->at(i));
203
203
PyObject *tobj;
204
204
205
- if ((tobj = sipConvertFromMappedType (t, qlist_type, sipTransferObj )) == NULL)
205
+ if ((tobj = sipConvertFromNewType (t, qlist_type, NULL )) == NULL)
206
206
{
207
207
Py_DECREF(l);
208
208
delete t;
@@ -470,7 +470,7 @@ template<TYPE>
470
470
QMap<int, TYPE> *t = new QMap<int, TYPE>(*it);
471
471
472
472
PyObject *kobj = PyLong_FromLongLong(it.key());
473
- PyObject *tobj = sipConvertFromMappedType (t, qmap2, sipTransferObj);
473
+ PyObject *tobj = sipConvertFromNewType (t, qmap2, sipTransferObj);
474
474
475
475
if (kobj == NULL || tobj == NULL || PyDict_SetItem(d, kobj, tobj) < 0)
476
476
{
0 commit comments