Commit 7233814d authored by Sven Langkamp's avatar Sven Langkamp

convert first plugin to json, not it gets to the mainwindow

parent 6498f8b3
......@@ -23,6 +23,7 @@ add_library(kritadefaultpaintops MODULE ${kritadefaultpaintops_PART_SRCS})
target_link_libraries(kritadefaultpaintops kritalibpaintop)
kcoreaddons_desktop_to_json(kritadefaultpaintops kritadefaultpaintops.desktop)
install(TARGETS kritadefaultpaintops DESTINATION ${PLUGIN_INSTALL_DIR})
......
......@@ -36,8 +36,7 @@
#include "kis_brush_based_paintop_settings.h"
#include "kis_brush_server.h"
K_PLUGIN_FACTORY(DefaultPaintOpsPluginFactory, registerPlugin<DefaultPaintOpsPlugin>();)
K_EXPORT_PLUGIN(DefaultPaintOpsPluginFactory("krita"))
K_PLUGIN_FACTORY_WITH_JSON(DefaultPaintOpsPluginFactory, "kritadefaultpaintops.json", registerPlugin<DefaultPaintOpsPlugin>();)
DefaultPaintOpsPlugin::DefaultPaintOpsPlugin(QObject *parent, const QVariantList &)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment