[Nepomuk] Review Request: ResourceManager: Do not double initalize the NepomukMainModel

Vishesh Handa me at vhanda.in
Sun Jun 17 17:30:07 UTC 2012


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

Review request for Nepomuk and Sebastian Trueg.


Description
-------

ResourceManager: Do not double initalize the NepomukMainModel

The NepomukMainModel is initalized once when it is created and then the
second time in ResourceManager::init.

This results in a second connection being made to nepomukstorage, and an
extra thread being spawned over there. The old thread is eventually
deleted, but the whole process is rather pointless.


Diffs
-----

  libnepomukcore/resource/resourcemanager.cpp f510673944c374cff99fe9cce621601b2a0e9cf2 

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


Testing
-------


Thanks,

Vishesh Handa

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


More information about the Nepomuk mailing list