aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler/perfprofilertool.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2019-03-19 17:29:13 +0100
committerhjk <hjk@qt.io>2019-03-19 17:18:54 +0000
commita2c7257c9b24103b1f6c05b96c8a2d67a8d1404a (patch)
tree0c7858983e2a57a2a9c3ebfc8a3faa151181127f /src/plugins/perfprofiler/perfprofilertool.h
parente6adb8aabf2b74468e27fdb9f4e5f4e4756b4a40 (diff)
PerfProfiler: Simplify logic around PerfProfilerTool::populateFileFinder
It doesn't need a RunConfiguration, only uses a Target. Change-Id: I96bac9ab26f7e261f1a170dec8bfbad8e4d63a72 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler/perfprofilertool.h')
-rw-r--r--src/plugins/perfprofiler/perfprofilertool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/perfprofiler/perfprofilertool.h b/src/plugins/perfprofiler/perfprofilertool.h
index 03a31dc901..8f36cfc7d0 100644
--- a/src/plugins/perfprofiler/perfprofilertool.h
+++ b/src/plugins/perfprofiler/perfprofilertool.h
@@ -88,7 +88,8 @@ private:
void clear();
friend class PerfProfilerRunner;
- void populateFileFinder(const ProjectExplorer::RunConfiguration *rc = nullptr);
+ void populateFileFinder(const ProjectExplorer::Project *project,
+ const ProjectExplorer::Kit *kit);
void updateFilterMenu();
void updateRunActions();
void addLoadSaveActionsToMenu(QMenu *menu);