aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-09-18 12:11:40 +0200
committerhjk <hjk@qt.io>2020-09-23 07:44:42 +0000
commitcec468d78a57b2858d3b5c03ccb5c5c1928d628c (patch)
tree1118e25efb84695de335768aae04818e9685dd84 /src/plugins/cppcheck
parent834cb8d114110d4905c007f45841fd1045851ec7 (diff)
Utils/ProjectExplorer: Move re-usabled bits of aspects to Utils
Classes involved are BaseAspect and some derived classes, LayoutBuilder and VariableChooser. This is mostly mechanical, with various include/using changes to make it compile. Change-Id: I624a457f3555f102e541c4c71e33a9423af32250 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cppcheck')
-rw-r--r--src/plugins/cppcheck/cppcheckoptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppcheck/cppcheckoptions.cpp b/src/plugins/cppcheck/cppcheckoptions.cpp
index bb963c06e7..735557daf2 100644
--- a/src/plugins/cppcheck/cppcheckoptions.cpp
+++ b/src/plugins/cppcheck/cppcheckoptions.cpp
@@ -32,9 +32,9 @@
#include <utils/hostosinfo.h>
#include <utils/pathchooser.h>
#include <utils/qtcassert.h>
+#include <utils/variablechooser.h>
#include <coreplugin/icore.h>
-#include <coreplugin/variablechooser.h>
#include <debugger/analyzer/analyzericons.h>
@@ -66,7 +66,7 @@ OptionsWidget::OptionsWidget(QWidget *parent)
m_binary->setExpectedKind(Utils::PathChooser::ExistingCommand);
m_binary->setCommandVersionArguments({"--version"});
- auto variableChooser = new Core::VariableChooser(this);
+ auto variableChooser = new Utils::VariableChooser(this);
variableChooser->addSupportedWidget (m_customArguments);
m_unusedFunction->setToolTip(tr("Disables multithreaded check."));