]> cloud.milkyroute.net Git - dolphin.git/commit
Use a consistent way to group files by "Date"
authorDaniel Kreuter <daniel.kreuter85@gmail.com>
Sun, 3 Mar 2013 17:20:59 +0000 (18:20 +0100)
committerFrank Reininghaus <frank78ac@googlemail.com>
Sun, 3 Mar 2013 17:27:00 +0000 (18:27 +0100)
commit0ae259e0985264cc0fcbe9856407baa57baca84c
treeebfbde95ac3ef34df20bf20905c263cee0c347bc
parent4e4078c66a3ffa2a7044b72858b631002a3e0293
Use a consistent way to group files by "Date"

Before this change, files were grouped by calendar weeks if they were
modified in the current month and ignoring the "first week day setting",
but by the actual distance measured in multiples of seven days if the
were modified last month.

This not only fixes the "ignores first week day" bug, but also the
problem that the inconsistencies in the algorithm could lead to a broken
grouping in the first days of a month (see screenshot in the review
request).

BUG: 181337
FIXED-IN: 4.11
REVIEW: 108667
src/kitemviews/kfileitemmodel.cpp