[vlc-devel] commit: Qt4: remove useless IPv6 option ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jul 12 17:38:55 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jul 12 18:40:22 2008 +0300| [3699bd09d7fe02ac4ae2989f53716ae0ea70a394]
Qt4: remove useless IPv6 option
We have been able to autodetect this for ages
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3699bd09d7fe02ac4ae2989f53716ae0ea70a394
---
modules/gui/qt4/components/open_panels.cpp | 6 ------
modules/gui/qt4/ui/open_net.ui | 8 --------
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 94e17c2..529d143 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -418,7 +418,6 @@ NetOpenPanel::NetOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
CONNECT( ui.portSpin, valueChanged( int ), this, updateMRL() );
CONNECT( ui.addressText, textChanged( QString ), this, updateMRL());
CONNECT( ui.timeShift, clicked(), this, updateMRL());
- CONNECT( ui.ipv6, clicked(), this, updateMRL());
ui.protocolCombo->addItem( "" );
ui.protocolCombo->addItem("HTTP", QVariant("http"));
@@ -446,7 +445,6 @@ void NetOpenPanel::updateProtocol( int idx_proto ) {
ui.timeShift->setEnabled( idx_proto == UDP_PROTO ||
idx_proto == UDPM_PROTO );
- ui.ipv6->setEnabled( idx_proto == UDP_PROTO );
ui.addressText->setEnabled( idx_proto != UDP_PROTO );
ui.portSpin->setEnabled( idx_proto == UDP_PROTO ||
idx_proto == UDPM_PROTO );
@@ -505,10 +503,6 @@ void NetOpenPanel::updateMRL() {
break;
case UDP_PROTO:
mrl = "udp://@";
- if( ui.ipv6->isEnabled() && ui.ipv6->isChecked() )
- {
- mrl += "[::]";
- }
mrl += QString(":%1").arg( ui.portSpin->value() );
emit methodChanged("udp-caching");
break;
diff --git a/modules/gui/qt4/ui/open_net.ui b/modules/gui/qt4/ui/open_net.ui
index 85b7a91..8af212c 100644
--- a/modules/gui/qt4/ui/open_net.ui
+++ b/modules/gui/qt4/ui/open_net.ui
@@ -111,13 +111,6 @@
</property>
</widget>
</item>
- <item>
- <widget class="QCheckBox" name="ipv6" >
- <property name="text" >
- <string>_("Force IPv6")</string>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
@@ -144,7 +137,6 @@
<tabstop>addressText</tabstop>
<tabstop>portSpin</tabstop>
<tabstop>timeShift</tabstop>
- <tabstop>ipv6</tabstop>
</tabstops>
<resources/>
<connections/>
More information about the vlc-devel
mailing list