┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindockwidget.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-12-02 23:14:20 +0100
committerFrank Reininghaus <[email protected]>2013-12-02 23:14:39 +0100
commit03f8c373c51e03c076290550d8011b558e757406 (patch)
treef43270d9d6cd8c419a4d5cf56affea1821b515fa /src/dolphindockwidget.cpp
parent92cb6b3a1859cbebbac6ab0526a7216def8b44a5 (diff)
Lazy-load the item data also in Compact View
The recent changes which prevent that all data for each item are saved in a QHash already when loading the folder (see https://git.reviewboard.kde.org/r/112725/), which save both memory and time, do not work yet in Compact View, because KItemListWidgetInformant::itemSizeHint() calls the model's data(int) method for every item, which then initializes the hash. This patch prevents that by accessing the file name directly if only the "Name" is shown in the view, just like it's done in Icons View. REVIEW: 113849
Diffstat (limited to 'src/dolphindockwidget.cpp')
0 files changed, 0 insertions, 0 deletions