┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/applyviewpropsjob.cpp
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-02-03 23:28:57 +0100
committerFrank Reininghaus <[email protected]>2013-02-03 23:28:57 +0100
commit687d5145a25b99255065035ec63f3a29c711367d (patch)
tree8226b3eacdbb7e14331b8bb9041b4a8a41e0915f /src/settings/applyviewpropsjob.cpp
parent01dc86f0dfdfe9b27c228d7f0c39c1b6585ccbe9 (diff)
Two small optimizations in KFileItemModel::removeItems()
1. It seems that it really can happen that KFileItems that we get from the dir lister's itemsDeleted signal are not in the model any more, e.g., if a folder where hidden files are shown is left and a folder where hidden files are not shown is entered. There is no need to output warnings then. 2. Remove the emptiness-check for the KFileItemList at the beginning. Even in the unlikely event that we do get an empty list, we return just a few lines later in the code.
Diffstat (limited to 'src/settings/applyviewpropsjob.cpp')
0 files changed, 0 insertions, 0 deletions