]> cloud.milkyroute.net Git - dolphin.git/commit
Always sort items correctly when the refreshItems() signal is received
authorFrank Reininghaus <frank78ac@googlemail.com>
Mon, 9 Sep 2013 19:38:47 +0000 (21:38 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Mon, 9 Sep 2013 19:38:47 +0000 (21:38 +0200)
commit4416377eae06e70f5f841e94347f2d0b31113524
tree510999152b11983477b10c5d52472581c551d88b
parent2d8872c3accbf4a6f07e3ce4d220c9f87057545a
Always sort items correctly when the refreshItems() signal is received

When sorting by, e.g., "Size", and the name is used as a fallback
because there are multiple files with the same size, the refreshItems
signal that is received when a file's name is changed either with the
dialog or outside the current view did not cause the view to be resorted
after commit d70a4811807776966c3241a72121242f4d1eaee8. This patch fixes
it.

BUG: 324713
FIXED-IN: 4.11.2
REVIEW: 112561
src/kitemviews/kfileitemmodel.cpp
src/kitemviews/kfileitemmodel.h
src/tests/kfileitemmodeltest.cpp