From 9c57693a09e2d5c3f0628479382b78d6fe980aba Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Wed, 15 Apr 2009 18:39:05 +0200 Subject: [PATCH] Don't annoy Windows users with alien dir separators --- src/plugins/projectexplorer/applicationrunconfiguration.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/applicationrunconfiguration.cpp b/src/plugins/projectexplorer/applicationrunconfiguration.cpp index f901d2965ab..755fa998fb8 100644 --- a/src/plugins/projectexplorer/applicationrunconfiguration.cpp +++ b/src/plugins/projectexplorer/applicationrunconfiguration.cpp @@ -34,6 +34,7 @@ #include #include +#include #include #include #include @@ -137,7 +138,7 @@ void ApplicationRunControl::start() m_executable, rc->commandLineArguments()); emit started(); - emit addToOutputWindow(this, tr("Starting %1...").arg(m_executable)); + emit addToOutputWindow(this, tr("Starting %1...").arg(QDir::toNativeSeparators(m_executable))); } void ApplicationRunControl::stop() @@ -163,7 +164,7 @@ void ApplicationRunControl::slotAddToOutputWindow(const QString &line) void ApplicationRunControl::processExited(int exitCode) { - emit addToOutputWindow(this, tr("%1 exited with code %2").arg(m_executable).arg(exitCode)); + emit addToOutputWindow(this, tr("%1 exited with code %2").arg(QDir::toNativeSeparators(m_executable)).arg(exitCode)); emit finished(); }