aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck/cppcheckplugin.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2023-07-17 09:11:27 +0200
committerhjk <[email protected]>2023-07-19 14:00:17 +0000
commit2b7e8599c8ae363edde5c0f91efafd22e02f8c06 (patch)
tree63438004b8ca73e982bdb44b2d1badb5905bd7c4 /src/plugins/cppcheck/cppcheckplugin.cpp
parentd7461a380b19316b3ad6c79dd8c0011e266664d3 (diff)
CppCheck: Move widget creation for manual run closer to its use
Change-Id: I08d50f5e4534b8a58d374ae37bfd03dbd234a483 Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/cppcheck/cppcheckplugin.cpp')
-rw-r--r--src/plugins/cppcheck/cppcheckplugin.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/cppcheck/cppcheckplugin.cpp b/src/plugins/cppcheck/cppcheckplugin.cpp
index f8096350293..261eb50b0a5 100644
--- a/src/plugins/cppcheck/cppcheckplugin.cpp
+++ b/src/plugins/cppcheck/cppcheckplugin.cpp
@@ -112,9 +112,7 @@ void CppcheckPluginPrivate::startManualRun()
manualRunTool.updateOptions();
- auto optionsWidget = settings().layouter()().emerge();
-
- ManualRunDialog dialog(optionsWidget, project);
+ ManualRunDialog dialog(project);
if (dialog.exec() == ManualRunDialog::Rejected)
return;