[vlmc-devel] commit: Fix hard coded dialog size (Rohit Yadav )

git at videolan.org git at videolan.org
Sun Sep 5 21:59:51 CEST 2010


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Mon Sep  6 03:25:54 2010 +0200| [75c196203126149bae6599fc3cb3d48da76bccdc] | committer: Rohit Yadav 

Fix hard coded dialog size

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

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

diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp
index 4488852..8eb2ca4 100644
--- a/src/Gui/MainWindow.cpp
+++ b/src/Gui/MainWindow.cpp
@@ -596,7 +596,7 @@ MainWindow::renderVideo( const QString& outputFileName, quint32 width, quint32 h
         delete m_fileRenderer;
     m_fileRenderer = new WorkflowFileRenderer();
 
-    WorkflowFileRendererDialog  *dialog = new WorkflowFileRendererDialog( m_fileRenderer, 640, 480 );
+    WorkflowFileRendererDialog  *dialog = new WorkflowFileRendererDialog( m_fileRenderer, width, height );
     dialog->setModal( true );
     dialog->setOutputFileName( outputFileName );
 



More information about the Vlmc-devel mailing list