Equivalent of setInsertInOrder in Qt5.5



  • I am using Qt5.5 on windows. When i was using Qt4.8.1 *setInsertInOrder * was working fine on following lines.

    QMap<int,  QVariant> roleDataMap;
    roleDataMap.setInsertInOrder(true);
    

    I could not find any equivalent in Qt5.5 for setInsertInOrder .
    What is the alternative for setInsertInOrder ?? is it depreciated? if so does anyone knows its equivalent?


  • Lifetime Qt Champion

    Hi,

    setInsertInOrder was an internal function so never part of the public API and it has been removed from Qt 5.

    What is your use case ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.