diff options
author | hjk <hjk@qt.io> | 2020-04-09 11:35:12 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-04-09 17:45:06 +0000 |
commit | 68c539bb9d697a1496b41af8efa939e1fe1f9715 (patch) | |
tree | 03056243a1c63924592e7042d07ed414ef2c6195 /src/plugins/cppcheck | |
parent | 79b680e7f0b0ff5ecca9b17fabb11fd03947ec8f (diff) |
Utils: Replace FileChooser::path() by filePath().toString()
Keep the old method for now to ease downstream porting.
The change is kept mechanical, there's a lot of cleanup possible now
on the user code side.
Change-Id: I936baedd45b7ba057f1c789a1bec896886f48eff
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/cppcheck')
-rw-r--r-- | src/plugins/cppcheck/cppcheckoptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cppcheck/cppcheckoptions.cpp b/src/plugins/cppcheck/cppcheckoptions.cpp index a3070560bd..bb963c06e7 100644 --- a/src/plugins/cppcheck/cppcheckoptions.cpp +++ b/src/plugins/cppcheck/cppcheckoptions.cpp @@ -121,7 +121,7 @@ void OptionsWidget::load(const CppcheckOptions &options) void OptionsWidget::save(CppcheckOptions &options) const { - options.binary = m_binary->path(); + options.binary = m_binary->filePath().toString(); options.customArguments = m_customArguments->text(); options.ignoredPatterns = m_ignorePatterns->text(); options.warning = m_warning->isChecked(); |