Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
9c57693a
Commit
9c57693a
authored
Apr 15, 2009
by
Alessandro Portale
Browse files
Don't annoy Windows users with alien dir separators
parent
8817cdd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/applicationrunconfiguration.cpp
View file @
9c57693a
...
...
@@ -34,6 +34,7 @@
#include
<projectexplorer/projectexplorerconstants.h>
#include
<utils/qtcassert.h>
#include
<QtCore/QDir>
#include
<QtGui/QLabel>
#include
<QtGui/QTextDocument>
#include
<QDebug>
...
...
@@ -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
();
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment