Revision 4cb118c...

Go back to digest for 29th July 2012

Bug Fixes in KDE Base

Vishesh Handa committed changes in [nepomuk-core/KDE/4.9] libnepomukcore/datamanagement/simpleresource.cpp:

SimpleResource: Avoid duplicates when adding another PropertyHash

We need to add each (key, value) pair separately, so as to avoid
duplicates. A QMultiHash can contain the same (key, value) pair
multiples times.

This fixes SimpleResourceSubsystemTest::testSimpleResourceGraphAdd

REVIEW: 105718

File Changes

Modified 1 files
  • libnepomukcore/datamanagement/simpleresource.cpp
1 files changed in total