From d796f75ee07c9782e9afc08a0d91a1825b39d0e0 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <daniel.molkentin@nokia.com> Date: Thu, 13 Aug 2009 15:25:12 +0200 Subject: [PATCH] More native separators on windows --- src/plugins/qt4projectmanager/makestep.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/qt4projectmanager/makestep.cpp b/src/plugins/qt4projectmanager/makestep.cpp index a78d9e78c5a..cc6963a66d2 100644 --- a/src/plugins/qt4projectmanager/makestep.cpp +++ b/src/plugins/qt4projectmanager/makestep.cpp @@ -212,7 +212,7 @@ void MakeStepConfigWidget::updateDetails() } // -w option enables "Enter"/"Leaving directory" messages, which we need for detecting the // absolute file path - // FIXME doing this without the user having a way to override this is rather bad + // FIXME doing this without the user haaving a way to override this is rather bad // so we only do it for unix and if the user didn't override the make command // but for now this is the least invasive change QStringList args = m_makeStep->value(m_buildConfiguration, "makeargs").toStringList(); @@ -221,7 +221,8 @@ void MakeStepConfigWidget::updateDetails() if (m_makeStep->value(m_buildConfiguration, "makeCmd").toString().isEmpty()) args << "-w"; } - m_summaryText = tr("<b>Make:</b> %1 %2 in %3").arg(QFileInfo(makeCmd).fileName(), args.join(" "), workingDirectory); + m_summaryText = tr("<b>Make:</b> %1 %2 in %3").arg(QFileInfo(makeCmd).fileName(), args.join(" "), + QDir::toNativeSeparators(workingDirectory)); emit updateSummary(); } -- GitLab