theophanemayaud / video-simili-duplicate-cleaner

https://theophanemayaud.github.io/video-simili-duplicate-cleaner/
GNU General Public License v3.0
51 stars 5 forks source link

Regression: same sized videos discarded because of QMap move when going to qt6 #71

Closed theophanemayaud closed 2 years ago

theophanemayaud commented 2 years ago

QtProject/app/mainwindow.cpp line 265 (Théophane Mayaud 2022-01-13 17:05:31 +0100)
QMap<int64_t, int> mappedVideos; // key is video size, value is index in video QVector (maps are sorted automagically by key)

Moving from qt5 to qt6, switched from QMultiMap to QMap but this doesn't allow multiple keys. Must therefore restore previous functionality !!

theophanemayaud commented 2 years ago

As can be see here : https://github.com/theophanemayaud/video-simili-duplicate-cleaner/commit/91ce386ae7e3364b66a62f7bd059db33bb6945e0#diff-8f8304475eeaf10a9608eb708f0efddd2c79a0799871df4c627ffe8a28937d64

Fixed by b6a62ff2e8e7b2c0138c31ac6de9672e519a738b