fix_sip_QString.patch

Salvatore Larosa, 2013-06-13 02:50 PM

Download (899 Bytes)

View differences:

python/core/conversions.sip
1447 1447

  
1448 1448
      for( int j = 0; j<sipCpp->at(i).second.size(); j++ )
1449 1449
      {
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);
1451 1451
        PyList_SetItem( l, j, t1obj);
1452 1452
      }
1453 1453

  
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);
1455 1455
      PyList_SetItem( p, 0, t1obj );
1456 1456
      PyList_SetItem( p, 1, l);
1457 1457