I have QMap<MyClass*, bool> and I need to remove the oldest item. Can someone provide the code to do it?
I tried removing last Key and first Key, but it still doesn't work properly.
Does it sort the map somehow? And if it does, is there a way to prevent it.
Bookmarks