┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2014-02-07 10:22:17 +0100
committerFrank Reininghaus <[email protected]>2014-02-07 10:22:17 +0100
commitbb22ac0a4745b63ac02d72d176b93bc3f2b84ca0 (patch)
treeef31f8aac2d87e57bd855a0b49b63315ac9a6425 /src/views/dolphinview.cpp
parent564dcb08fd0f6fe23d55bd8216af4e5295abf099 (diff)
Only initialize the hash m_items in KFileItemModel if it is needed
Moreover, clear the entire hash if items are added or removed. This saves time and memory when loading a directory, and it fixes problems that might occur if the model is in an inconsistent state, such as crashes that can happen when we try to remove individual items from m_items. BUG: 329494 FIXED-IN: 4.13.0 REVIEW: 115432
Diffstat (limited to 'src/views/dolphinview.cpp')
0 files changed, 0 insertions, 0 deletions