Commit 0be0be63 authored by Thomas Guillem's avatar Thomas Guillem

qt: also update text with indeterminate progress

parent 21ded500
......@@ -400,10 +400,8 @@ ProgressDialogWrapper::ProgressDialogWrapper(DialogHandler *p_handler,
void ProgressDialogWrapper::updateProgress(float f_position, const QString &text)
{
QProgressDialog *progress = static_cast<QProgressDialog *>(p_dialog);
progress->setLabelText(text);
if (!b_indeterminate)
{
QProgressDialog *progress = static_cast<QProgressDialog *>(p_dialog);
progress->setLabelText(text);
progress->setValue(f_position * 1000);
}
}
Markdown is supported
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