1
0

support for all protocols

This commit is contained in:
ThomasV
2013-10-05 11:16:09 +02:00
parent 9c1b688e4f
commit a6934f6796
3 changed files with 12 additions and 7 deletions

View File

@@ -235,9 +235,9 @@ class NetworkDialog(QDialog):
if not self.exec_():
return
server = ':'.join([str( self.server_host.text() ),
str( self.server_port.text() ),
(protocol_letters[self.server_protocol.currentIndex()]) ])
host = str( self.server_host.text() )
port = str( self.server_port.text() )
protocol = protocol_letters[self.server_protocol.currentIndex()]
if self.proxy_mode.currentText() != 'NONE':
proxy = { 'mode':str(self.proxy_mode.currentText()).lower(),
@@ -248,5 +248,5 @@ class NetworkDialog(QDialog):
auto_connect = self.autocycle_cb.isChecked()
self.network.set_parameters(server, proxy, auto_connect)
self.network.set_parameters(host, port, protocol, proxy, auto_connect)
return True