]> cloud.milkyroute.net Git - dolphin.git/commit
Big Thanks to Frank Reininghaus, who helped me a lot with these
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Wed, 27 Feb 2013 12:35:20 +0000 (13:35 +0100)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Wed, 27 Feb 2013 12:35:20 +0000 (13:35 +0100)
commitf2d70693db58f0b912e29330017298928b0ddc0d
tree72b485e58dac4bc2085051c3cfe314bd047091c4
parent6b91e4e6b80f23f2123eb7b85b4a2bf1e348fe84
Big Thanks to Frank Reininghaus, who helped me a lot with these
changes! :)

* Fixed the "Network browser" and "timeline" issues, by using the
KDirLister's itemsAdded(KUrl,KFileItemList) signal -> Use the
given Url to define the parent-child relationship.

* Changed the name of the slot "slotNewItems" to "slotItemsAdded"
for consistency with the signal.

* Use a QHash<KFileItem, ItemData*> instead of a QSet<KFileItem> to
store the filtered data (needed to keep the O(1) lookup for filtered
KFileItems in slotItemsDeleted + needed to fix bug 311912 "After
erasing a filter, some thumbnails randomly disappear")

* Made the determination of the "expandedParentsCount" slightly
simpler - just adding 1 to the parent's level (Also needed to fix the
"Network browser" and "timeline" issues)

FIXED-IN: 4.11.0
REVIEW: 109180
BUG: 304565
BUG: 311912
BUG: 312890
BUG: 315593
src/kitemviews/kfileitemmodel.cpp
src/kitemviews/kfileitemmodel.h
src/tests/kfileitemmodelbenchmark.cpp
src/tests/kfileitemmodeltest.cpp