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

Ragnar Thomsen rthomsen6 at gmail.com
Sun May 31 13:49:44 BST 2015


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

(Updated May 31, 2015, 12:49 p.m.)


Status
------

This change has been marked as submitted.


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


Changes
-------

Submitted with commit 07ea88471e5c610e3239c284875f544bef5059f8 by Ragnar Thomsen to branch master.


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: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20150531/8e3d692f/attachment.htm>
-------------- next part --------------
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel at kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


More information about the kfm-devel mailing list