aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler/perfprofilerplugin.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-01-27 11:39:22 +0100
committerhjk <hjk@qt.io>2020-01-28 08:50:59 +0000
commit218b6ac4910fe0ec8676063cf555e1ae20122509 (patch)
tree28be169c89a5145946b5cd5d88d5bf4ac3c42d0c /src/plugins/perfprofiler/perfprofilerplugin.cpp
parent56febd062c6fec20e01d9514925c6cc2ce08f246 (diff)
Perf: Move closer to now-standard option page setup
The aspect widgets need to serve two purposes (global settings, and in run configurations), but that's still possible with an IOptionPageWidget base, the in-project use simply never triggers the apply(). Change-Id: I1344a37b6dba558b950904378443682b5a068214 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler/perfprofilerplugin.cpp')
-rw-r--r--src/plugins/perfprofiler/perfprofilerplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerplugin.cpp b/src/plugins/perfprofiler/perfprofilerplugin.cpp
index 03d1de8eaf..d66a12a500 100644
--- a/src/plugins/perfprofiler/perfprofilerplugin.cpp
+++ b/src/plugins/perfprofiler/perfprofilerplugin.cpp
@@ -73,7 +73,7 @@ public:
{ProjectExplorer::Constants::PERFPROFILER_RUN_MODE}
};
- PerfOptionsPage optionsPage;
+ PerfOptionsPage optionsPage{perfGlobalSettings()};
PerfProfilerTool profilerTool;
};