[vlmc-devel] commit: Add Qt::Sheet window flags to QDialogs, for Mac (Rohit Yadav )

git at videolan.org git at videolan.org
Tue Jun 22 02:11:14 CEST 2010


vlmc | branch: master | Rohit Yadav <rohityadav89 at gmail.com> | Tue Jun 22 00:41:41 2010 +0200| [3b4cee6ff1d6e0097cf90da09007d3886d22bce7] | committer: Ludovic Fauvet 

Add Qt::Sheet window flags to QDialogs, for Mac

Signed-off-by: Ludovic Fauvet <etix at l0cal.com>

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

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

diff --git a/src/Gui/export/RendererSettings.cpp b/src/Gui/export/RendererSettings.cpp
index 03b71c3..d1f39ff 100644
--- a/src/Gui/export/RendererSettings.cpp
+++ b/src/Gui/export/RendererSettings.cpp
@@ -34,6 +34,7 @@
 RendererSettings::RendererSettings()
 {
     m_ui.setupUi( this );
+    setWindowFlags( windowFlags() | Qt::Sheet ); // Qt::Sheet is for UI on Mac
     connect( m_ui.outputFileNameButton, SIGNAL(clicked() ),
              this, SLOT(selectOutputFileName() ) );
     m_ui.width->setValue( VLMC_PROJECT_GET_INT( "video/VideoProjectWidth" ) );



More information about the Vlmc-devel mailing list