replace - 1 with std::prev for QMap iterators
#4371
Merged
- 1 with std::prev for QMap iterators
#4371