[vlmc-devel] commit: Render dialog: update the progress bar while rendering. ( Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Sun Mar 21 22:23:01 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Sun Mar 21 21:28:25 2010 +0100| [6955e8b2c1a37607b780a457acdfa63dd2511a6e] | committer: Hugo Beauzee-Luyssen 

Render dialog: update the progress bar while rendering.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=6955e8b2c1a37607b780a457acdfa63dd2511a6e
---

 src/Gui/WorkflowFileRendererDialog.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/Gui/WorkflowFileRendererDialog.cpp b/src/Gui/WorkflowFileRendererDialog.cpp
index 22bbf21..fb29c62 100644
--- a/src/Gui/WorkflowFileRendererDialog.cpp
+++ b/src/Gui/WorkflowFileRendererDialog.cpp
@@ -64,4 +64,5 @@ void    WorkflowFileRendererDialog::frameChanged( qint64 frame )
 {
     m_ui.frameCounter->setText( tr("Rendering frame %1 / %2").arg(QString::number( frame ),
                                     QString::number(m_workflow->getLengthFrame() ) ) );
+    setProgressBarValue( frame * 100 / m_workflow->getLengthFrame() );
 }



More information about the Vlmc-devel mailing list