[vlc-commits] Qt4: uniformize DVB dialog

Rémi Denis-Courmont git at videolan.org
Sat Mar 26 17:57:03 CET 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar 26 18:56:21 2011 +0200| [9fcda59c709539917be9d021f03c0ff7f0e478b9] | committer: Rémi Denis-Courmont

Qt4: uniformize DVB dialog

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

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

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 3e323e5..b1d7046 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1137,22 +1137,13 @@ void CaptureOpenPanel::updateMRL()
         if( cqam->isChecked() ) mrl = "cqam://";
 
         mrl += "frequency=" + QString::number( dvbFreq->value() );
-#ifdef WIN32 /* TODO: harmonize frequencies!! */
-        if( !dvbs->isChecked() )
-            mrl +="000";
-#endif
 
         if( dvbc->isChecked() || cqam->isChecked() )
         {
             unsigned qam =
                 dvbModBox->itemData( dvbModBox->currentIndex() ).toInt();
             if( qam != 0 )
-            {
-                mrl += ":modulation=" + QString::number( qam );
-#ifndef WIN32
-                mrl += "QAM";
-#endif
-            }
+                mrl += ":modulation=" + QString::number( qam ) + "QAM";
             mrl += ":srate=" + QString::number( dvbSrate->value() );
         }
         if( dvbc->isChecked() || dvbs->isChecked() )



More information about the vlc-commits mailing list