Hi,
is there a way to get a list of keys of a QMap in the order they were inserted into the Map. I only need to retrieve the last inserted "key" and this code does not give me the wanted result because apparently QMap inserts the Items automatically in ascendant order.
Qt Code:
if(list.size()>0) wanted = list.last();To copy to clipboard, switch view to plain text mode
Is there a way to solve this without having to change the map?
thanks
Bookmarks