]> cloud.milkyroute.net Git - dolphin.git/commit
When a grouping per date is done, per default the granularity is one month. This...
authorPeter Penz <peter.penz19@gmail.com>
Tue, 26 Feb 2008 06:33:21 +0000 (06:33 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Tue, 26 Feb 2008 06:33:21 +0000 (06:33 +0000)
commit1da13e6e47d62f562e77ab2862ee1a2890f879bf
treefe665934f6a09cc846d55f5d462eec6d0184c321
parent3dc1043b73f7b76e29f7d6fe5cf7842d8d9204a3
When a grouping per date is done, per default the granularity is one month. This patch increases the granularity for the last month:
- "Weeks" are used for the last 4 weeks excluding the current week.
- "Days" are used for the current week.

Additionally some cleanups of the code has been done, as the method DolphinModel::data() was too long already.

No backport will be done as new strings are introduced. The patch has been reviewed by Rafael Fernández López.

BUG: 158267

svn path=/trunk/KDE/kdebase/apps/; revision=779438
src/dolphinmodel.cpp
src/dolphinmodel.h