Skip to content

Commit 1f10010

Browse files
committedJun 17, 2013
Fixes #8061
1 parent 28efcda commit 1f10010

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎python/core/conversions.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,11 +1447,11 @@ template<double, TYPE2>
14471447

14481448
for( int j = 0; j<sipCpp->at(i).second.size(); j++ )
14491449
{
1450-
PyObject *t1obj = sipConvertFromNewInstance(new QString(sipCpp->at(i).second.at(j)), sipClass_QString, sipTransferObj);
1450+
PyObject *t1obj = sipConvertFromNewType(new QString(sipCpp->at(i).second.at(j)), sipType_QString, sipTransferObj);
14511451
PyList_SetItem( l, j, t1obj);
14521452
}
14531453

1454-
PyObject *t1obj = sipConvertFromNewInstance(new QString(sipCpp->at(i).first), sipClass_QString, sipTransferObj);
1454+
PyObject *t1obj = sipConvertFromNewType(new QString(sipCpp->at(i).first), sipType_QString, sipTransferObj);
14551455
PyList_SetItem( p, 0, t1obj );
14561456
PyList_SetItem( p, 1, l);
14571457

0 commit comments

Comments
 (0)
Please sign in to comment.