[vlmc-devel] [PATCH 08/12] WorkflowFileRendererDialog: Remove unneeded arguments of renderVideo

Yikai Lu luyikei.qmltu at gmail.com
Wed Apr 6 09:58:21 CEST 2016


---
 src/Gui/WorkflowFileRendererDialog.cpp | 6 +++---
 src/Gui/WorkflowFileRendererDialog.h   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Gui/WorkflowFileRendererDialog.cpp b/src/Gui/WorkflowFileRendererDialog.cpp
index 151674f..ef44724 100644
--- a/src/Gui/WorkflowFileRendererDialog.cpp
+++ b/src/Gui/WorkflowFileRendererDialog.cpp
@@ -29,9 +29,9 @@
 #include "Workflow/MainWorkflow.h"
 #include "Renderer/WorkflowRenderer.h"
 
-WorkflowFileRendererDialog::WorkflowFileRendererDialog( quint32 width, quint32 height ) :
-        m_width( width ),
-        m_height( height ),
+WorkflowFileRendererDialog::WorkflowFileRendererDialog() :
+        m_width( Core::instance()->project()->width() ),
+        m_height( Core::instance()->project()->height() ),
         m_renderer( Core::instance()->workflowRenderer() )
 {
     m_ui.setupUi( this );
diff --git a/src/Gui/WorkflowFileRendererDialog.h b/src/Gui/WorkflowFileRendererDialog.h
index de46ee2..640b923 100644
--- a/src/Gui/WorkflowFileRendererDialog.h
+++ b/src/Gui/WorkflowFileRendererDialog.h
@@ -33,7 +33,7 @@ class   WorkflowFileRendererDialog : public QDialog
     Q_OBJECT
     Q_DISABLE_COPY( WorkflowFileRendererDialog );
 public:
-    WorkflowFileRendererDialog( quint32 width, quint32 height );
+    WorkflowFileRendererDialog();
     void    setOutputFileName( const QString& filename );
     void    setProgressBarValue( int val );
 
-- 
1.9.1



More information about the Vlmc-devel mailing list