aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppcheck/cppcheckoptions.h
diff options
context:
space:
mode:
authorhjk <[email protected]>2021-09-30 16:58:46 +0200
committerhjk <[email protected]>2021-10-05 11:25:40 +0000
commit04f6f6bbc07f25eee2fbee04b3d7558bfb675d77 (patch)
tree7337b0f37b7fc258677d7236ff68ab1604649928 /src/plugins/cppcheck/cppcheckoptions.h
parentcc8d65aa2547c64f092725af6dad18c56a246a89 (diff)
CppCheck: Use more FilePath
Change-Id: I45da67df4b76032303b57f567d73ae01bf9f2e91 Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/cppcheck/cppcheckoptions.h')
-rw-r--r--src/plugins/cppcheck/cppcheckoptions.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/cppcheck/cppcheckoptions.h b/src/plugins/cppcheck/cppcheckoptions.h
index 639ffca6c94..4d4ca83cb65 100644
--- a/src/plugins/cppcheck/cppcheckoptions.h
+++ b/src/plugins/cppcheck/cppcheckoptions.h
@@ -26,6 +26,7 @@
#pragma once
#include <coreplugin/dialogs/ioptionspage.h>
+#include <utils/filepath.h>
#include <QCoreApplication>
#include <QPointer>
@@ -36,9 +37,7 @@ class QLineEdit;
class QCheckBox;
QT_END_NAMESPACE
-namespace Utils {
-class PathChooser;
-}
+namespace Utils { class PathChooser; }
namespace Cppcheck {
namespace Internal {
@@ -50,7 +49,7 @@ class OptionsWidget;
class CppcheckOptions final
{
public:
- QString binary;
+ Utils::FilePath binary;
bool warning = true;
bool style = true;