[vlmc-devel] commit: RenderDialog: Closing the dialog when render is completed ( 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:44:45 2010 +0100| [874326ee620860c17dfa661606477328131a7b4e] | committer: Hugo Beauzee-Luyssen 

RenderDialog: Closing the dialog when render is completed

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

 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 fb29c62..165621f 100644
--- a/src/Gui/WorkflowFileRendererDialog.cpp
+++ b/src/Gui/WorkflowFileRendererDialog.cpp
@@ -35,6 +35,7 @@ WorkflowFileRendererDialog::WorkflowFileRendererDialog( WorkflowFileRenderer* re
     m_workflow = MainWorkflow::getInstance();
     connect( m_ui.cancelButton, SIGNAL( clicked() ), m_renderer, SLOT( stop() ) );
     connect( m_ui.cancelButton, SIGNAL( clicked() ), this, SLOT( close() ) );
+    connect( m_renderer, SIGNAL( renderComplete() ), this, SLOT( accept() ) );
     connect( m_renderer, SIGNAL( frameChanged( qint64 ) ), this, SLOT( frameChanged( qint64 ) ) );
     connect( m_renderer, SIGNAL( imageUpdated( const uchar* ) ),
              this, SLOT( updatePreview( const uchar* ) ),



More information about the Vlmc-devel mailing list