little error
authorRémi Duraffort <ivoire@videolan.org>
Sun, 23 Dec 2007 10:47:59 +0000 (10:47 +0000)
committerRémi Duraffort <ivoire@videolan.org>
Sun, 23 Dec 2007 10:47:59 +0000 (10:47 +0000)
modules/gui/qt4/dialogs/interaction.cpp
modules/gui/qt4/dialogs_provider.cpp

index 26cbe15..46667f7 100644 (file)
@@ -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() );
     }
 }
index 1617176..4e60c20 100644 (file)
@@ -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: