More native separators on windows

This commit is contained in:
Daniel Molkentin
2009-08-13 15:25:12 +02:00
parent abdc85f070
commit d796f75ee0

View File

@@ -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();
}