]> cloud.milkyroute.net Git - dolphin.git/commit
Simplify KFileItemModel's sorting
authorChristian Muehlhaeuser <muesli@gmail.com>
Tue, 13 Jul 2021 22:36:27 +0000 (00:36 +0200)
committerMéven Car <meven29@gmail.com>
Sat, 14 Aug 2021 09:01:56 +0000 (09:01 +0000)
commit0ed31f10c382aad7b7c9ec30e6f8d6947862ff30
tree4b74ec734b13782b4a56a53f58828c3203c712fc
parent0ac57fbe90d580a514c3bac4cefaa9ed87f178f9
Simplify KFileItemModel's sorting

Returns from function as soon as we encounter a decisive comparison,
while ensuring the fallbacks provide a stable sorting. Added comment
to clarify the situation.
src/kitemviews/kfileitemmodel.cpp