Commit 3211c389 authored by Boudewijn Rempt's avatar Boudewijn Rempt

A bit of code style cleanup

parent bb52de46
set(KRITA_TASKSETDOCKER_SOURCES tasksetmodel.cpp tasksetdocker.cpp tasksetdocker_dock.cpp taskset_resource.cpp )
set(KRITA_TASKSETDOCKER_SOURCES tasksetmodel.cpp tasksetdocker.cpp tasksetdocker_dock.cpp taskset_resource.cpp)
ki18n_wrap_ui(KRITA_TASKSETDOCKER_SOURCES
wdgtasksetdocker.ui
)
add_library(kritatasksetdocker MODULE ${KRITA_TASKSETDOCKER_SOURCES})
target_link_libraries(kritatasksetdocker kritaui)
install(TARGETS kritatasksetdocker DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})
install(TARGETS kritatasksetdocker DESTINATION ${KRITA_PLUGIN_INSTALL_DIR})
......@@ -17,28 +17,17 @@
#include "tasksetdocker.h"
#include <stdlib.h>
#include <stdint.h>
#include <QTimer>
#include <kis_debug.h>
#include <kpluginfactory.h>
#include <klocalizedstring.h>
#include <KoDockFactoryBase.h>
#include "kis_config.h"
#include "kis_cursor.h"
#include "kis_global.h"
#include "kis_types.h"
#include "KisViewManager.h"
#include <KoDockRegistry.h>
#include "tasksetdocker_dock.h"
#include <KoDockRegistry.h>
K_PLUGIN_FACTORY_WITH_JSON(TasksetDockerPluginFactory, "krita_tasksetdocker.json", registerPlugin<TasksetDockerPlugin>();)
K_PLUGIN_FACTORY_WITH_JSON(TasksetDockerPluginFactory,
"krita_tasksetdocker.json",
registerPlugin<TasksetDockerPlugin>();)
class TasksetDockerDockFactory : public KoDockFactoryBase {
public:
......@@ -59,7 +48,7 @@ public:
QDockWidget* createDockWidget() override
{
TasksetDockerDock * dockWidget = new TasksetDockerDock();
dockWidget->setObjectName(id());
return dockWidget;
......
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