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
Games
Bovo
Commits
2183023a
Commit
2183023a
authored
Oct 31, 2022
by
Albert Astals Cid
Browse files
Use modern QtConcurrent::run syntax
parent
be0c8e93
Changes
1
Hide whitespace changes
Inline
Side-by-side
ai/gabor/aigabor.cc
View file @
2183023a
...
...
@@ -97,7 +97,7 @@ void AiGabor::slotMove() {
qFatal
(
"Concurrent AI error"
);
}
m_canceling
=
false
;
m_future
=
QtConcurrent
::
run
(
this
,
&
ai
::
AiGabor
::
slotMoveImpl
);
m_future
=
QtConcurrent
::
run
(
[
this
]
{
slotMoveImpl
();
}
);
}
void
AiGabor
::
slotMoveImpl
()
{
...
...
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