Review Request 123940: Use KPluginLoader::factory() when loading KIO::DndPopupMenuPlugin

Ragnar Thomsen rthomsen6 at gmail.com
Fri May 29 22:09:39 UTC 2015


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

Review request for Dolphin, KDE Frameworks, Emmanuel Pescosta, and Harald Hvaal.


Repository: kio


Description
-------

This patch fixes an error when loading the DndPopupMenuPlugin of Ark (frameworks branch). DndPopupMenuPlugins use the K_PLUGIN_FACTORY_WITH_JSON macro, and therefore KPluginLoader::factory() should be used instead of KPluginLoader::instance() which is used by KPluginMetaData::instantiate().

The DndPopupMenuPlugin is used by Ark to enable the "Extract here" menu option when dragging an archive in Dolphin.


Diffs
-----

  src/widgets/dropjob.cpp 63beb0a 

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


Testing
-------

The "Extract here" option now appears when dragging an archive in Dolphin (current frameworks branch), and extraction works as expected.


Thanks,

Ragnar Thomsen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150529/e5069c75/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list