Replace QMap::unite with QMap::insert
QMap::unite is deprecated as it can generate multiple entries for the same key, which is not desired here. QMap::insert does the same, but overrides existing values if a key already exists.
parent
07f1fbbf
Please register or sign in to comment