Skip to content

Commit

Permalink
Fixes #8061
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Jun 17, 2013
1 parent 28efcda commit 1f10010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/core/conversions.sip
Original file line number Diff line number Diff line change
Expand Up @@ -1447,11 +1447,11 @@ template<double, TYPE2>

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

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

Expand Down

0 comments on commit 1f10010

Please sign in to comment.