diff options
author | hjk <hjk@qt.io> | 2020-01-23 09:39:52 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-01-27 06:45:09 +0000 |
commit | 5ea999402c1bade6a1959e661d5b2967db142dcb (patch) | |
tree | 51385111761767662d549662b87c3c5c4ff05338 /src/plugins/modeleditor/modeleditor_plugin.h | |
parent | b0939414354589ae569f12a14e6fe55abb4ab575 (diff) |
ModelEditor: Move closer to standard plugin setup
The private structure was already there, just delay initialization
and make the members direct.
Change-Id: Ic0d71fe27f15a5c270544469d046b3298e6b2c65
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/modeleditor/modeleditor_plugin.h')
-rw-r--r-- | src/plugins/modeleditor/modeleditor_plugin.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/modeleditor/modeleditor_plugin.h b/src/plugins/modeleditor/modeleditor_plugin.h index 5ab927361d..838ee41ac2 100644 --- a/src/plugins/modeleditor/modeleditor_plugin.h +++ b/src/plugins/modeleditor/modeleditor_plugin.h @@ -25,8 +25,6 @@ #pragma once -#include "modeleditor_global.h" - #include <extensionsystem/iplugin.h> namespace ModelEditor { @@ -34,12 +32,10 @@ namespace Internal { class ModelsManager; -class ModelEditorPlugin : - public ExtensionSystem::IPlugin +class ModelEditorPlugin : public ExtensionSystem::IPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "ModelEditor.json") - class ModelEditorPluginPrivate; public: ModelEditorPlugin(); @@ -52,7 +48,7 @@ public: static ModelsManager *modelsManager(); private: - ModelEditorPluginPrivate *d; + class ModelEditorPluginPrivate *d = nullptr; }; } // namespace Internal |