Commit 94238454 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: remove non-working stream output wizard TTL field (refs #4322)

In fact, the defaut values in the preferences are better than the
default value in the wizard. If the user really needs to change the
default for IPv4 multicast, (s)he can always save it in the
preferences more permantly.
parent 9b77e104
...@@ -84,7 +84,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString& ...@@ -84,7 +84,7 @@ SoutDialog::SoutDialog( QWidget *parent, intf_thread_t *_p_intf, const QString&
#define CC( x ) CONNECT( ui.x, currentIndexChanged( int ), this, updateMRL() ); #define CC( x ) CONNECT( ui.x, currentIndexChanged( int ), this, updateMRL() );
/* Misc */ /* Misc */
CB( soutAll ); CS( ttl ); CT( sapName ); CT( sapGroup ); CB( soutAll ); CT( sapName ); CT( sapGroup );
CB( localOutput ); CB( transcodeBox ); CB( localOutput ); CB( transcodeBox );
CONNECT( ui.profileSelect, optionsChanged(), this, updateMRL() ); CONNECT( ui.profileSelect, optionsChanged(), this, updateMRL() );
...@@ -245,7 +245,6 @@ void SoutDialog::updateMRL() ...@@ -245,7 +245,6 @@ void SoutDialog::updateMRL()
if( ui.soutAll->isChecked() ) mrl.append( " :sout-all" ); if( ui.soutAll->isChecked() ) mrl.append( " :sout-all" );
mrl.append( " :ttl=" + QString::number( ui.ttl->value() ) );
mrl.append( " :sout-keep" ); mrl.append( " :sout-keep" );
ui.mrlEdit->setPlainText( mrl ); ui.mrlEdit->setPlainText( mrl );
......
...@@ -188,26 +188,6 @@ ...@@ -188,26 +188,6 @@
<item row="1" column="3"> <item row="1" column="3">
<widget class="QLineEdit" name="sapGroup"/> <widget class="QLineEdit" name="sapGroup"/>
</item> </item>
<item row="2" column="0">
<widget class="QLabel" name="ttlLabel">
<property name="text">
<string>Time-To-Live (TTL)</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="ttl">
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>255</number>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</item> </item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment