Argh my last patch broke plugins. So revert 818988 and do it properly, for real this time :)

KPluginFactory can take the catalog name as second argument, this is the best fix.
CCMAIL: Chusslove Illich <caslav.ilic@gmx.net>

svn path=/trunk/KDE/kdebase/apps/; revision=818989
This commit is contained in:
David Faure 2008-06-10 09:15:19 +00:00
parent 07b14fca3b
commit 03415bc8a9
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ target_link_libraries(dolphinpart dolphinprivate konq)
install(TARGETS dolphinpart DESTINATION ${PLUGIN_INSTALL_DIR} )
install(FILES dolphinpart.rc DESTINATION ${DATA_INSTALL_DIR}/dolphin)
install(FILES dolphinpart.rc DESTINATION ${DATA_INSTALL_DIR}/dolphinpart)
install(FILES dolphinpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
##########################################

View file

@ -49,7 +49,7 @@
#include <QClipboard>
K_PLUGIN_FACTORY(DolphinPartFactory, registerPlugin<DolphinPart>();)
K_EXPORT_PLUGIN(DolphinPartFactory("dolphin"))
K_EXPORT_PLUGIN(DolphinPartFactory("dolphinpart", "dolphin"))
DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantList& args)
: KParts::ReadOnlyPart(parent)