Review Request 121775: Correctly load dependencies for plugins

Sergey Kalinichev kalinichev.so.0 at gmail.com
Wed Jan 7 11:23:23 UTC 2015


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

(Updated Jan. 7, 2015, 3:23 p.m.)


Status
------

This change has been discarded.


Review request for KDevelop.


Repository: kdevplatform


Description
-------

It fixes 2 bugs:

1) checkForDependencies returns false if there are some dependencies, but the code that calls this method threats false return code as an error, so it doesn't try to load any dependencies at all.
2) checkForDependencies must check loaded plugins (instead of all available) for satisfied dependencies. As a result currently it almost always returns true

So because of these 2 bugs interconnected currently everything works.


Diffs
-----

  shell/plugincontroller.h 89b0b8b 
  shell/plugincontroller.cpp f70fc64 

Diff: https://git.reviewboard.kde.org/r/121775/diff/


Testing
-------


Thanks,

Sergey Kalinichev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20150107/74822ddd/attachment.html>


More information about the KDevelop-devel mailing list