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``
Resets the cursor to default
``maindisplay_css_updated``
``update_display_css``
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'),
self.createMediaObject)
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.SIGNAL(u'config_updated'), self.configChanged)

View File

@ -191,7 +191,7 @@ class AlertsTab(SettingsTab):
settings.setValue(u'location', QtCore.QVariant(self.location))
settings.endGroup()
if self.changed:
Receiver.send_message(u'maindisplay_css_updated')
Receiver.send_message(u'update_display_css')
self.changed = False
def updateDisplay(self):