Fix QHash deprecated declarations in Dimg module
The patch fixes warnings caused by
- QHash::insertMulti()
- QHash::unite()
- QHash::values()
Dimg tests pass successfully
These are the warnings
/home/anjani/Programs/KDE/digikam/core/libs/dimg/filters/hotpixels/hotpixelfixer.cpp:107:61: warning: ‘QList<T> QHash<K, V>::values(const Key&) const [with Key = QString; T = QVariant]’ is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations]
home/anjani/Programs/KDE/digikam/core/libs/dimg/history/filteraction.cpp:152:25: warning: ‘QHash<K, V>::iterator QHash<K, V>::insertMulti(const Key&, const T&) [with Key = QString; T = QVariant]’ is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations]
/home/anjani/Programs/KDE/digikam/core/libs/dimg/history/filteraction.cpp:157:30: warning: ‘QHash<K, V>& QHash<K, V>::unite(const QHash<K, V>&) [with Key = QString; T = QVariant]’ is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations]
Edited by Anjani Kumar