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
b1f97118
Commit
b1f97118
authored
Jul 10, 2009
by
Roberto Raggi
Browse files
Cleanup
parent
8f6956e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppeditor.cpp
View file @
b1f97118
...
...
@@ -1707,14 +1707,8 @@ void SemanticHighlighter::run()
forever
{
m_mutex
.
lock
();
forever
{
if
(
m_done
)
break
;
else
if
(
!
m_source
.
fileName
.
isEmpty
())
break
;
while
(
!
(
m_done
||
!
m_source
.
fileName
.
isEmpty
()))
m_condition
.
wait
(
&
m_mutex
);
}
const
bool
done
=
m_done
;
const
Source
source
=
m_source
;
...
...
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