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

(Updated June 25, 2012, 8:16 a.m.)


Review request for Nepomuk and Sebastian Trueg.


Changes
-------

Removed init() from the mainModel constructor


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 (updated)
-----

  libnepomukcore/resource/nepomukmainmodel.cpp 
a11faae9a6d42806ba884e74f07e2d0113c6910f 

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


Testing
-------


Thanks,

Vishesh Handa

_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk

Reply via email to