[Nepomuk] Review Request: SimpleResource: Avoid duplicates when adding another PropertyHash

Vishesh Handa me at vhanda.in
Tue Jul 24 17:57:23 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105718/
-----------------------------------------------------------

Review request for Nepomuk and Sebastian Trueg.


Description
-------

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


Diffs
-----

  libnepomukcore/datamanagement/simpleresource.cpp 7357d96 

Diff: http://git.reviewboard.kde.org/r/105718/diff/


Testing
-------


Thanks,

Vishesh Handa

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120724/cf4676c6/attachment.html>


More information about the Nepomuk mailing list