diff options
author | hjk <hjk@qt.io> | 2024-01-11 18:55:51 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2024-01-12 08:33:19 +0000 |
commit | bffd9a39b5541b85d05870a929a0d9d85fc36955 (patch) | |
tree | d8ff77fa6dad8bab4feec84eed50e0b0d6c7dfdf /src/plugins/glsleditor | |
parent | 9cf58a5891d57f405e8880da084dba4de3fe0640 (diff) |
GlslEditor: Remove bogus global CompletionAssistProvider instance
This was never set to any editor.
Change-Id: Ia6397de67fdb02870e608c13a668f1a0be29c6e3
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/plugins/glsleditor')
-rw-r--r-- | src/plugins/glsleditor/glsleditorplugin.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/plugins/glsleditor/glsleditorplugin.cpp b/src/plugins/glsleditor/glsleditorplugin.cpp index fcfc999af2..c7f5c81617 100644 --- a/src/plugins/glsleditor/glsleditorplugin.cpp +++ b/src/plugins/glsleditor/glsleditorplugin.cpp @@ -1,7 +1,6 @@ // Copyright (C) 2016 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 -#include "glslcompletionassist.h" #include "glsleditor.h" #include "glsleditorconstants.h" #include "glsleditortr.h" @@ -27,30 +26,14 @@ using namespace Utils; namespace GlslEditor::Internal { -class GlslEditorPluginPrivate -{ -public: - GlslCompletionAssistProvider completionAssistProvider; -}; - -static GlslEditorPluginPrivate *dd = nullptr; - class GlslEditorPlugin final : public ExtensionSystem::IPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "GLSLEditor.json") public: - ~GlslEditorPlugin() final - { - delete dd; - dd = nullptr; - } - void initialize() final { - dd = new GlslEditorPluginPrivate; - setupGlslEditorFactory(); ActionContainer *contextMenu = ActionManager::createMenu(Constants::M_CONTEXT); |