~iahmad/kubuntu-packaging/qtcreator

« back to all changes in this revision

Viewing changes to src/plugins/qmlprofiler/qmlprofilerplugin.cpp

  • Committer: Timo Jyrinki
  • Date: 2014-01-15 07:44:24 UTC
  • mfrom: (1.1.30)
  • Revision ID: timo.jyrinki@canonical.com-20140115074424-3pnj3a1x6s25im9v
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
class QmlProfilerAction : public AnalyzerAction
47
47
{
48
48
public:
49
 
    QmlProfilerAction() {}
 
49
    explicit QmlProfilerAction(QObject *parent = 0) : AnalyzerAction(parent) { }
50
50
};
51
51
 
52
52
bool QmlProfilerPlugin::debugOutput = false;
65
65
        "The QML Profiler can be used to find performance bottlenecks in "
66
66
        "applications using QML.");
67
67
 
68
 
    action = new QmlProfilerAction;
 
68
    action = new QmlProfilerAction(this);
69
69
    action->setId("QmlProfiler.Local");
70
70
    action->setTool(tool);
71
71
    action->setText(tr("QML Profiler"));
74
74
    action->setMenuGroup(Constants::G_ANALYZER_TOOLS);
75
75
    AnalyzerManager::addAction(action);
76
76
 
77
 
    action = new QmlProfilerAction;
 
77
    action = new QmlProfilerAction(this);
78
78
    action->setId("QmlProfiler.Remote");
79
79
    action->setTool(tool);
80
80
    action->setText(tr("QML Profiler (External)"));