Hello,
If you have QMap of QList's like this
QMap<int,QList<int> > myMap;
myMap.insert(a,QList<int>())
myMap[a].append(b);
myMap[a].append(c);
QMap<int,QList<int> > myMap;
myMap.insert(a,QList<int>())
myMap[a].append(b);
myMap[a].append(c);
To copy to clipboard, switch view to plain text mode
and you clear QMap:
myMap.clear()
myMap.clear()
To copy to clipboard, switch view to plain text mode
are elements of inner QList cleared, or you should iterate through QMap first and clear QLlist ?
best regards
Marek
Bookmarks