Commit af52b673 authored by Rémi Duraffort's avatar Rémi Duraffort

little error

parent d0d0541e
......@@ -173,7 +173,7 @@ void InteractionDialog::update()
if( p_dialog->i_flags & DIALOG_USER_PROGRESS )
{
assert( progressBar );
progressBar->setValue( (int)(p_dialog->val.f_float*1000) );
progressBar->setValue( (int)(p_dialog->val.f_float*10) );
msg_Dbg( p_intf, "Setting progress to %i", progressBar->value() );
}
}
......
......@@ -485,7 +485,7 @@ void DialogsProvider::doInteraction( intf_dialog_args_t *p_arg )
break;
case INTERACT_UPDATE:
qdialog = (InteractionDialog*)(p_dialog->p_private);
if( qdialog)
if( qdialog )
qdialog->update();
break;
case INTERACT_HIDE:
......
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