aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nim
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-09-08 17:16:43 +0200
committerhjk <hjk@qt.io>2021-09-13 09:47:56 +0000
commit704b0af8dbe0a95f3a59221ad105fc48faca91af (patch)
tree87fdab5c6b5aee8edd1235ee4dadcda43f31d229 /src/plugins/nim
parentf72c4cb8ac61809742de9106f4c104dbf11ba9e5 (diff)
Replace some PathChooser::setFile with setFilePath
Change-Id: I9a135e27d97b6706ea199b60a0b0b28838c77dcc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r--src/plugins/nim/project/nimtoolchainfactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nim/project/nimtoolchainfactory.cpp b/src/plugins/nim/project/nimtoolchainfactory.cpp
index b55a9e9119..91e74e3e3a 100644
--- a/src/plugins/nim/project/nimtoolchainfactory.cpp
+++ b/src/plugins/nim/project/nimtoolchainfactory.cpp
@@ -127,7 +127,7 @@ bool NimToolChainConfigWidget::isDirtyImpl() const
{
auto tc = static_cast<NimToolChain *>(toolChain());
Q_ASSERT(tc);
- return tc->compilerCommand().toString() != m_compilerCommand->filePath().toString();
+ return tc->compilerCommand() != m_compilerCommand->filePath();
}
void NimToolChainConfigWidget::makeReadOnlyImpl()
@@ -139,7 +139,7 @@ void NimToolChainConfigWidget::fillUI()
{
auto tc = static_cast<NimToolChain *>(toolChain());
Q_ASSERT(tc);
- m_compilerCommand->setPath(tc->compilerCommand().toString());
+ m_compilerCommand->setFilePath(tc->compilerCommand());
m_compilerVersion->setText(tc->compilerVersion());
}