forked from openlp/openlp
Rename signal
This commit is contained in:
parent
bdcf15d87b
commit
4d3dd6dbb5
@ -219,8 +219,7 @@ class EventReceiver(QtCore.QObject):
|
|||||||
``cursor_normal``
|
``cursor_normal``
|
||||||
Resets the cursor to default
|
Resets the cursor to default
|
||||||
|
|
||||||
|
``update_display_css``
|
||||||
``maindisplay_css_updated``
|
|
||||||
CSS has been updated which needs to be changed on the main display.
|
CSS has been updated which needs to be changed on the main display.
|
||||||
|
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ class MainDisplay(QtGui.QGraphicsView):
|
|||||||
QtCore.SIGNAL(u'openlp_phonon_creation'),
|
QtCore.SIGNAL(u'openlp_phonon_creation'),
|
||||||
self.createMediaObject)
|
self.createMediaObject)
|
||||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||||
QtCore.SIGNAL(u'maindisplay_css_updated'), self.cssChanged)
|
QtCore.SIGNAL(u'update_display_css'), self.cssChanged)
|
||||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
QtCore.QObject.connect(Receiver.get_receiver(),
|
||||||
QtCore.SIGNAL(u'config_updated'), self.configChanged)
|
QtCore.SIGNAL(u'config_updated'), self.configChanged)
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ class AlertsTab(SettingsTab):
|
|||||||
settings.setValue(u'location', QtCore.QVariant(self.location))
|
settings.setValue(u'location', QtCore.QVariant(self.location))
|
||||||
settings.endGroup()
|
settings.endGroup()
|
||||||
if self.changed:
|
if self.changed:
|
||||||
Receiver.send_message(u'maindisplay_css_updated')
|
Receiver.send_message(u'update_display_css')
|
||||||
self.changed = False
|
self.changed = False
|
||||||
|
|
||||||
def updateDisplay(self):
|
def updateDisplay(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user