diff options
| author | Vishesh Handa <[email protected]> | 2013-01-22 17:18:48 +0530 |
|---|---|---|
| committer | Vishesh Handa <[email protected]> | 2013-01-24 23:16:27 +0530 |
| commit | d27c16d7516911c892bebbc517f42f457719cb44 (patch) | |
| tree | 89b3418f2a3749143da87151b8cb9cefb7ef0606 /src/tests/kfileitemmodelbenchmark.cpp | |
| parent | 20c3b45449992d62ec4ba86633d17823e9bb4b19 (diff) | |
KFileItemModelRolesUpdater: Avoid multiple updates for Nepomuk data
The Nepomuk ResourceWatcher emits 3 signals - propertyChanged,
propertyAdded and propertyRemoved. We should only listen to either the
propertyChanged signal or the propertyAdded + Removed signals. There is
no point in listening to all 3 signals. That will just result in
unnecessary updates.
Additionally, we do not need to listen to the resourceCreated signal.
That is only emitted when we are watching for a specific types, which we
are not.
REVIEW: 108543
Diffstat (limited to 'src/tests/kfileitemmodelbenchmark.cpp')
0 files changed, 0 insertions, 0 deletions
