aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/customtoolchain.cpp
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-08-23 01:19:53 +0200
committerEike Ziller <eike.ziller@digia.com>2014-08-25 08:21:14 +0200
commit6431ab2c799553623ec3fe6a79f1e85484558dd6 (patch)
treee82f7812bb38906d75bc41109336206fa09eff9d /src/plugins/projectexplorer/customtoolchain.cpp
parent2b5df11cb8f6e8d40d86728e8b788aff3a755907 (diff)
Use Qt 5's QStringList::join(QChar)
Less typing and less cycles than join(QString) where appropriate Change-Id: I6ebc0e17e4d7fd9845864dd95b7de4ba4dad6906 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/customtoolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/customtoolchain.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp
index 7384bf7175..265b465539 100644
--- a/src/plugins/projectexplorer/customtoolchain.cpp
+++ b/src/plugins/projectexplorer/customtoolchain.cpp
@@ -585,9 +585,9 @@ void CustomToolChainConfigWidget::setFromToolchain()
m_compilerCommand->setFileName(tc->compilerCommand());
m_makeCommand->setFileName(FileName::fromString(tc->makeCommand(Utils::Environment())));
m_abiWidget->setAbis(QList<Abi>(), tc->targetAbi());
- m_predefinedMacros->setPlainText(tc->rawPredefinedMacros().join(QLatin1String("\n")));
- m_headerPaths->setPlainText(tc->headerPathsList().join(QLatin1String("\n")));
- m_cxx11Flags->setText(tc->cxx11Flags().join(QLatin1String(",")));
+ m_predefinedMacros->setPlainText(tc->rawPredefinedMacros().join(QLatin1Char('\n')));
+ m_headerPaths->setPlainText(tc->headerPathsList().join(QLatin1Char('\n')));
+ m_cxx11Flags->setText(tc->cxx11Flags().join(QLatin1Char(',')));
m_mkspecs->setText(tc->mkspecs());
m_errorParserComboBox->setCurrentIndex(tc->outputParserType());
m_customParserSettings = tc->customParserSettings();