Skip to content

fix sorting of time columns

Luboš Luňák requested to merge lunakl/ktimetracker:fix-sort into master

Commit 910b2939 changed QVariant types for sorting from qlonglong to int64_t, but QSortFilterProxyModel::lessThan() docs explicitly list types that are compared numerically, int64_t is not one of them, so it gets sorted as a string. This meant that '0:02' was sorted before '0:17'.

Merge request reports