Merge pull request #8945 from JosJuice/qtbug-10561-again

DolphinQt: Attempt to fix ParallelProgressDialog constantly reopening
This commit is contained in:
Tilka 2020-07-11 03:38:54 +01:00 committed by GitHub
commit 5286fb2657
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -71,8 +71,12 @@ private slots:
m_is_setting_value = true;
while (m_last_received_progress != m_dialog.value())
int last_set_progress;
do
{
last_set_progress = m_last_received_progress;
m_dialog.setValue(m_last_received_progress);
} while (m_last_received_progress != last_set_progress);
m_is_setting_value = false;
}