Commit 2183023a authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Use modern QtConcurrent::run syntax

parent be0c8e93
......@@ -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() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment