diff options
author | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-12-10 12:53:20 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@digia.com> | 2013-12-10 12:53:20 +0100 |
commit | 9f831dde07cb2411808534e76669b28a1b76e21d (patch) | |
tree | ed6252d64c9a3ab27aa93786272cda1b6008f3c7 /src/plugins/qmlprofiler/qmlprofilerplugin.cpp | |
parent | cdac81f896ef4b052d76f96485a08e6ec13696b8 (diff) | |
parent | ea1a92484ac99057b06130a012164bf9788650e9 (diff) | |
download | qt-creator-wip/clang.tar.gz |
Merge remote-tracking branch 'origin/master' into wip/clangwip/clang
Change-Id: I8a2c8068a3f2b15034fb1bf6304c9a0f3f0e3c8f
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerplugin.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerplugin.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerplugin.cpp b/src/plugins/qmlprofiler/qmlprofilerplugin.cpp index e4fd95a5a4..342035c19a 100644 --- a/src/plugins/qmlprofiler/qmlprofilerplugin.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerplugin.cpp @@ -46,7 +46,7 @@ namespace Internal { class QmlProfilerAction : public AnalyzerAction { public: - QmlProfilerAction() {} + explicit QmlProfilerAction(QObject *parent = 0) : AnalyzerAction(parent) { } }; bool QmlProfilerPlugin::debugOutput = false; @@ -65,7 +65,7 @@ bool QmlProfilerPlugin::initialize(const QStringList &arguments, QString *errorS "The QML Profiler can be used to find performance bottlenecks in " "applications using QML."); - action = new QmlProfilerAction; + action = new QmlProfilerAction(this); action->setId("QmlProfiler.Local"); action->setTool(tool); action->setText(tr("QML Profiler")); @@ -74,7 +74,7 @@ bool QmlProfilerPlugin::initialize(const QStringList &arguments, QString *errorS action->setMenuGroup(Constants::G_ANALYZER_TOOLS); AnalyzerManager::addAction(action); - action = new QmlProfilerAction; + action = new QmlProfilerAction(this); action->setId("QmlProfiler.Remote"); action->setTool(tool); action->setText(tr("QML Profiler (External)")); |