forked from qt-creator/qt-creator
QmlProfiler: Remove QmlProfilerAction
It's an empty shell. Change-Id: Ifc382e66fb2c2885b82342ebf53dfc219926658e Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
This commit is contained in:
@@ -44,12 +44,6 @@ using namespace Analyzer;
|
|||||||
namespace QmlProfiler {
|
namespace QmlProfiler {
|
||||||
namespace Internal {
|
namespace Internal {
|
||||||
|
|
||||||
class QmlProfilerAction : public AnalyzerAction
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
explicit QmlProfilerAction(QObject *parent = 0) : AnalyzerAction(parent) { }
|
|
||||||
};
|
|
||||||
|
|
||||||
bool QmlProfilerPlugin::debugOutput = false;
|
bool QmlProfilerPlugin::debugOutput = false;
|
||||||
QmlProfilerPlugin *QmlProfilerPlugin::instance = 0;
|
QmlProfilerPlugin *QmlProfilerPlugin::instance = 0;
|
||||||
|
|
||||||
@@ -60,13 +54,13 @@ bool QmlProfilerPlugin::initialize(const QStringList &arguments, QString *errorS
|
|||||||
|
|
||||||
IAnalyzerTool *tool = new QmlProfilerTool(this);
|
IAnalyzerTool *tool = new QmlProfilerTool(this);
|
||||||
|
|
||||||
QmlProfilerAction *action = 0;
|
AnalyzerAction *action = 0;
|
||||||
|
|
||||||
QString description = QmlProfilerTool::tr(
|
QString description = QmlProfilerTool::tr(
|
||||||
"The QML Profiler can be used to find performance bottlenecks in "
|
"The QML Profiler can be used to find performance bottlenecks in "
|
||||||
"applications using QML.");
|
"applications using QML.");
|
||||||
|
|
||||||
action = new QmlProfilerAction(this);
|
action = new AnalyzerAction(this);
|
||||||
action->setId("QmlProfiler.Local");
|
action->setId("QmlProfiler.Local");
|
||||||
action->setTool(tool);
|
action->setTool(tool);
|
||||||
action->setText(tr("QML Profiler"));
|
action->setText(tr("QML Profiler"));
|
||||||
@@ -75,7 +69,7 @@ bool QmlProfilerPlugin::initialize(const QStringList &arguments, QString *errorS
|
|||||||
action->setMenuGroup(Constants::G_ANALYZER_TOOLS);
|
action->setMenuGroup(Constants::G_ANALYZER_TOOLS);
|
||||||
AnalyzerManager::addAction(action);
|
AnalyzerManager::addAction(action);
|
||||||
|
|
||||||
action = new QmlProfilerAction(this);
|
action = new AnalyzerAction(this);
|
||||||
action->setId("QmlProfiler.Remote");
|
action->setId("QmlProfiler.Remote");
|
||||||
action->setTool(tool);
|
action->setTool(tool);
|
||||||
action->setText(tr("QML Profiler (External)"));
|
action->setText(tr("QML Profiler (External)"));
|
||||||
|
|||||||
Reference in New Issue
Block a user