[vlc-devel] commit: Qt4: DVB-T and DVB-C should be in Hz on Windows. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Apr 28 00:08:33 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Apr 27 19:33:39 2009 +0200| [fce3f85b6fa118a8212ec90b1a6d9469a6556197] | committer: Jean-Baptiste Kempf 

Qt4: DVB-T and DVB-C should be in Hz on Windows.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fce3f85b6fa118a8212ec90b1a6d9469a6556197
---

 modules/gui/qt4/components/open_panels.cpp |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 07f6c90..b452ad7 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1181,13 +1181,23 @@ void CaptureOpenPanel::updateButtons()
             bdaBandBox->hide();
             bdaBandLabel->hide();
         }
-        else if( bdat->isChecked() )
+        else if( bdat->isChecked() || bdaa->isChecked() )
         {
             bdaSrate->hide();
             bdaSrateLabel->hide();
             bdaBandBox->show();
             bdaBandLabel->show();
         }
+        if( bdas->isChecked() )
+        {
+            bdaFreq->setSuffix(" kHz");
+            bdaFreq->setSingleStep( 1000 );
+        }
+        if( bdac->isChecked() || bdat->isChecked() || bdaa->isChecked( ) )
+        {
+            bdaFreq->setSuffix(" Hz");
+            bdaFreq->setSingleStep( 100000 );
+        }
         break;
 #else
     case DVB_DEVICE:




More information about the vlc-devel mailing list