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
Tobias Hunger
qt-creator
Commits
1b7e4b8e
Commit
1b7e4b8e
authored
May 08, 2009
by
con
Browse files
Fixes "save modified files before build" in case of multiple projects.
Initial-patch-by: Christian Hönig
parent
8c8e9753
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/projectexplorer/projectexplorer.cpp
View file @
1b7e4b8e
...
@@ -1297,6 +1297,9 @@ bool ProjectExplorerPlugin::saveModifiedFiles(const QList<Project *> & projects)
...
@@ -1297,6 +1297,9 @@ bool ProjectExplorerPlugin::saveModifiedFiles(const QList<Project *> & projects)
foreach
(
Project
*
pro
,
projects
)
foreach
(
Project
*
pro
,
projects
)
allFiles
<<
allFilesWithDependencies
(
pro
);
allFiles
<<
allFilesWithDependencies
(
pro
);
// allFiles must be sorted for the algorithm to work
qSort
(
allFiles
);
foreach
(
Core
::
IFile
*
fi
,
modifiedFi
)
foreach
(
Core
::
IFile
*
fi
,
modifiedFi
)
modified
.
insert
(
fi
->
fileName
(),
fi
);
modified
.
insert
(
fi
->
fileName
(),
fi
);
...
...
Write
Preview
Supports
Markdown
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