I don't see a use of QMap in this file. Remove?