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
82e10eae
Commit
82e10eae
authored
Jun 18, 2010
by
Oswald Buddenhagen
Browse files
use once parsed pro file for both exact and cumulative evaluation
parent
704deac4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4nodes.cpp
View file @
82e10eae
...
...
@@ -1024,10 +1024,15 @@ void Qt4ProFileNode::setupReader()
bool
Qt4ProFileNode
::
evaluate
()
{
bool
parserError
=
false
;
if
(
!
m_readerExact
->
readProFile
(
m_projectFilePath
))
parserError
=
true
;
if
(
!
m_readerCumulative
->
readProFile
(
m_projectFilePath
))
if
(
ProFile
*
pro
=
m_readerExact
->
parsedProFile
(
m_projectFilePath
))
{
if
(
!
m_readerExact
->
accept
(
pro
))
parserError
=
true
;
if
(
!
m_readerCumulative
->
accept
(
pro
))
parserError
=
true
;
pro
->
deref
();
}
else
{
parserError
=
true
;
}
return
parserError
;
}
...
...
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