fixes wrong url on the remotes tab

This commit is contained in:
Oliver Wieland 2013-09-08 11:29:36 +02:00
parent 541f013a5c
commit 5406a44d59

View File

@ -209,7 +209,7 @@ class RemoteTab(SettingsTab):
for address in interface.addressEntries(): for address in interface.addressEntries():
ip = address.ip() ip = address.ip()
if ip.protocol() == 0 and ip != QtNetwork.QHostAddress.LocalHost: if ip.protocol() == 0 and ip != QtNetwork.QHostAddress.LocalHost:
ip_address = ip ip_address = ip.toString()
break break
else: else:
ip_address = self.address_edit.text() ip_address = self.address_edit.text()