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
Marco Bubke
flatpak-qt-creator
Commits
96e2fef6
Commit
96e2fef6
authored
Feb 23, 2010
by
dt
Browse files
Fix CppModelManager::parse broken in recent commit
Reviewed-by: Friedemann Kleint
parent
8bd54e36
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cpptools/cppmodelmanager.cpp
View file @
96e2fef6
...
...
@@ -1269,6 +1269,9 @@ void CppModelManager::parse(QFutureInterface<void> &future,
if
(
files
.
isEmpty
())
return
;
foreach
(
const
QString
&
file
,
files
)
preproc
->
snapshot
.
remove
(
file
);
QStringList
sources
;
QStringList
headers
;
const
Core
::
MimeDatabase
*
mimeDb
=
Core
::
ICore
::
instance
()
->
mimeDatabase
();
...
...
@@ -1278,8 +1281,6 @@ void CppModelManager::parse(QFutureInterface<void> &future,
const
int
sourceCount
=
sources
.
size
();
files
=
sources
;
files
+=
headers
;
foreach
(
const
QString
&
file
,
files
)
preproc
->
snapshot
.
remove
(
file
);
preproc
->
setTodo
(
files
);
...
...
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