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
df1770ff
Commit
df1770ff
authored
Aug 09, 2010
by
Roberto Raggi
Browse files
Use LowestPriority instead of IdlePriority.
parent
480ae95c
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/cppeditor/cppchecksymbols.h
View file @
df1770ff
...
...
@@ -62,7 +62,7 @@ public:
this
->
setRunnable
(
this
);
this
->
reportStarted
();
Future
future
=
this
->
future
();
QThreadPool
::
globalInstance
()
->
start
(
this
,
QThread
::
Idle
Priority
);
QThreadPool
::
globalInstance
()
->
start
(
this
,
QThread
::
Lowest
Priority
);
return
future
;
}
...
...
src/plugins/cppeditor/cppeditor.cpp
View file @
df1770ff
...
...
@@ -2041,7 +2041,7 @@ bool SemanticHighlighter::isOutdated()
void
SemanticHighlighter
::
run
()
{
setPriority
(
QThread
::
Idle
Priority
);
setPriority
(
QThread
::
Lowest
Priority
);
forever
{
m_mutex
.
lock
();
...
...
src/plugins/qmljseditor/qmljseditor.cpp
View file @
df1770ff
...
...
@@ -1802,7 +1802,7 @@ bool SemanticHighlighter::isOutdated()
void
SemanticHighlighter
::
run
()
{
setPriority
(
QThread
::
Idle
Priority
);
setPriority
(
QThread
::
Lowest
Priority
);
forever
{
m_mutex
.
lock
();
...
...
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