diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-06-28 12:50:03 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-06-28 12:50:03 +0200 |
commit | 10098b2508abe6e8df59b7e27ea64e9483f1f8be (patch) | |
tree | b73815f1e8ca7aa12c347706b410050e3eb22caa /src/plugins/perfprofiler | |
parent | 5dbfd46bcfe177b8308c70a66f7d404429249f6b (diff) | |
parent | a111f251261159b50e92d6866f2058c66b43e390 (diff) | |
download | qt-creator-10098b2508abe6e8df59b7e27ea64e9483f1f8be.tar.gz |
Merge remote-tracking branch 'origin/4.10'
Conflicts:
CMakeLists.txt
tests/unit/unittest/unittest.pro
Change-Id: I64296ad31502d9b35012da129a28e9277e9fcf8e
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r-- | src/plugins/perfprofiler/perfprofilertool.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/perfprofiler/perfprofilertool.cpp b/src/plugins/perfprofiler/perfprofilertool.cpp index 5af097a9ec..bb71f925da 100644 --- a/src/plugins/perfprofiler/perfprofilertool.cpp +++ b/src/plugins/perfprofiler/perfprofilertool.cpp @@ -157,6 +157,9 @@ PerfProfilerTool::PerfProfilerTool() tracePointsAction->setEnabled(m_startAction->isEnabled()); }); + connect(ProjectExplorerPlugin::instance(), &ProjectExplorerPlugin::updateRunActions, + this, &PerfProfilerTool::updateRunActions); + m_recordButton = new QToolButton; m_clearButton = new QToolButton; m_filterButton = new QToolButton; @@ -341,9 +344,6 @@ void PerfProfilerTool::createViews() menu1->exec(m_flameGraphView->mapToGlobal(pos)); }); - connect(ProjectExplorerPlugin::instance(), &ProjectExplorerPlugin::updateRunActions, - this, &PerfProfilerTool::updateRunActions); - m_perspective.addToolBarAction(m_startAction); m_perspective.addToolBarAction(m_stopAction); m_perspective.addToolBarWidget(m_recordButton); |