Commit 9c57693a authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Don't annoy Windows users with alien dir separators

parent 8817cdd2
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <QtCore/QDir>
#include <QtGui/QLabel> #include <QtGui/QLabel>
#include <QtGui/QTextDocument> #include <QtGui/QTextDocument>
#include <QDebug> #include <QDebug>
...@@ -137,7 +138,7 @@ void ApplicationRunControl::start() ...@@ -137,7 +138,7 @@ void ApplicationRunControl::start()
m_executable, rc->commandLineArguments()); m_executable, rc->commandLineArguments());
emit started(); 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() void ApplicationRunControl::stop()
...@@ -163,7 +164,7 @@ void ApplicationRunControl::slotAddToOutputWindow(const QString &line) ...@@ -163,7 +164,7 @@ void ApplicationRunControl::slotAddToOutputWindow(const QString &line)
void ApplicationRunControl::processExited(int exitCode) 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(); emit finished();
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment