forked from openlp/openlp
Fixed a bug where the settings for remotes was not actually used.
bzr-revno: 1323
This commit is contained in:
commit
dfcd605593
@ -68,11 +68,13 @@ class HttpServer(object):
|
|||||||
"""
|
"""
|
||||||
log.debug(u'Start TCP server')
|
log.debug(u'Start TCP server')
|
||||||
port = QtCore.QSettings().value(
|
port = QtCore.QSettings().value(
|
||||||
self.parent.settingsSection + u'/remote port',
|
self.parent.settingsSection + u'/port',
|
||||||
QtCore.QVariant(4316)).toInt()[0]
|
QtCore.QVariant(4316)).toInt()[0]
|
||||||
|
address = QtCore.QSettings().value(
|
||||||
|
self.parent.settingsSection + u'/ip address',
|
||||||
|
QtCore.QVariant(u'0.0.0.0')).toString()
|
||||||
self.server = QtNetwork.QTcpServer()
|
self.server = QtNetwork.QTcpServer()
|
||||||
self.server.listen(QtNetwork.QHostAddress(QtNetwork.QHostAddress.Any),
|
self.server.listen(QtNetwork.QHostAddress(address), port)
|
||||||
port)
|
|
||||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||||
QtCore.SIGNAL(u'slidecontroller_live_changed'),
|
QtCore.SIGNAL(u'slidecontroller_live_changed'),
|
||||||
self.slide_change)
|
self.slide_change)
|
||||||
|
Loading…
Reference in New Issue
Block a user