Revision f507776...

Go back to digest for 29th July 2012

Bug Fixes in KDE Base

Vishesh Handa committed changes in [nepomuk-core/testLibrary-resourceRefacto] 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

File Changes

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