Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
c9a8dc99
Commit
c9a8dc99
authored
Oct 18, 2010
by
Oswald Buddenhagen
Browse files
expand working directory before looking for a command in it
Reviewed-by: hunger
parent
0765a981
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/abstractprocessstep.cpp
View file @
c9a8dc99
...
...
@@ -355,7 +355,8 @@ void AbstractProcessStep::slotProcessFinished(int, QProcess::ExitStatus)
QString
AbstractProcessStep
::
expandedCommand
()
const
{
QString
command
=
m_environment
.
searchInPath
(
m_command
,
QStringList
()
<<
workingDirectory
());
QString
command
=
m_environment
.
searchInPath
(
m_command
,
QStringList
()
<<
m_environment
.
expandVariables
(
m_workingDirectory
));
if
(
command
.
isEmpty
())
command
=
m_command
;
return
command
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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