Fix QHash deprecated declarations in FilterAction class
The deprecated functions were:-
-
QHash::unite()
used inFilterAction::addParameters()
-
QHash::insertMulti()
inFilterAction::addParameter()
FilterAction::addParameters()
was never called anywhere, so removed thus fixing warning.
I checked all the calls of FilterAction::addParameter()
and no filter is adding a key multiple times. So I changed the implementation to use QHash::insert()
.
Replaced calls of FilterAction::setParameter()
to FilterAction::addParameter()
since they had the same implementation and removed the former.