Qt: Remove potentially deadlocking optimization

This commit is contained in:
Vicki Pfau 2021-04-25 17:07:54 -07:00
parent c44ce3061a
commit 72ceb60697
1 changed files with 0 additions and 5 deletions

View File

@ -459,11 +459,6 @@ void PainterGL::draw() {
performDraw();
m_backend->swap(m_backend);
}
QMutexLocker locker(&m_mutex);
if (!m_queue.isEmpty()) {
QTimer::singleShot(1, this, &PainterGL::draw);
}
}
void PainterGL::forceDraw() {