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

little error

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