Files
qt-creator/src/plugins/ctfvisualizer/ctfvisualizerplugin.cpp
hjk 14ede71d62 CtfVisualizer: Destroy CtfTool earlier again
Amends 796053d7.

After all, the defaulted destructor of the class did some actual work
via the destructors of the QScopedPointer members.

Change-Id: If6dc8a3d57961ec263fced11f9fa9f7e9f8c54cc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
2024-01-12 17:48:59 +00:00

24 lines
590 B
C++

// Copyright (C) 2019 Klarälvdalens Datakonsult AB, a KDAB Group company,
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "ctfvisualizertool.h"
#include <extensionsystem/iplugin.h>
namespace CtfVisualizer::Internal {
class CtfVisualizerPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "CtfVisualizer.json")
void initialize() final
{
setupCtfVisualizerTool(this);
}
};
} // CtfVisualizer::Internal
#include "ctfvisualizerplugin.moc"