Rename signal

This commit is contained in:
Tim Bentley 2011-10-19 18:53:07 +01:00
parent bdcf15d87b
commit 4d3dd6dbb5
3 changed files with 3 additions and 4 deletions

View File

@ -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.

View File

@ -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)

View File

@ -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):