diff options
author | hjk <hjk@qt.io> | 2022-08-04 13:35:42 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-08-22 13:27:56 +0000 |
commit | 11648298c8aee0f4afeacaebd71a828fb858b3e4 (patch) | |
tree | d24210878e2a66482b294995961c4d2092bb4480 /src/libs/utils/macroexpander.cpp | |
parent | 66a9301bd997a82d1e89509b3a739a4d8707d961 (diff) |
Utils: Port some FilePath part accessors to QStringView
Change-Id: Ib5cc262e44c73880b6538eed714365e3d685870a
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/libs/utils/macroexpander.cpp')
-rw-r--r-- | src/libs/utils/macroexpander.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/macroexpander.cpp b/src/libs/utils/macroexpander.cpp index d2340a71b08..44b55bea2c8 100644 --- a/src/libs/utils/macroexpander.cpp +++ b/src/libs/utils/macroexpander.cpp @@ -295,8 +295,8 @@ FilePath MacroExpander::expand(const FilePath &fileNameWithVariables) const { FilePath result = fileNameWithVariables; result.setPath(expand(result.path())); - result.setHost(expand(result.host())); - result.setScheme(expand(result.scheme())); + result.setHost(expand(result.host().toString())); + result.setScheme(expand(result.scheme().toString())); return result; } |