forked from openlp/openlp
Cleanups
This commit is contained in:
parent
d8e5226b20
commit
eade26690d
@ -27,7 +27,6 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import gc
|
|
||||||
|
|
||||||
from PyQt4 import QtGui, QtCore, QtWebKit
|
from PyQt4 import QtGui, QtCore, QtWebKit
|
||||||
|
|
||||||
|
@ -155,9 +155,6 @@ class MainDisplay(Display):
|
|||||||
QtCore.SIGNAL(u'update_display_css'), 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)
|
||||||
if parent is None and not self.isLive:
|
|
||||||
QtCore.QObject.connect(Receiver.get_receiver(),
|
|
||||||
QtCore.SIGNAL(u'renderer_display_text'), self.text)
|
|
||||||
|
|
||||||
def setTransparency(self, enabled):
|
def setTransparency(self, enabled):
|
||||||
if enabled:
|
if enabled:
|
||||||
@ -235,7 +232,7 @@ class MainDisplay(Display):
|
|||||||
The slide text to be displayed
|
The slide text to be displayed
|
||||||
|
|
||||||
``animate``
|
``animate``
|
||||||
Ensures any transitions are performed when setting the text
|
Perform transitions if applicable when setting the text
|
||||||
"""
|
"""
|
||||||
log.debug(u'text to display')
|
log.debug(u'text to display')
|
||||||
# Wait for the webview to update before displaying text.
|
# Wait for the webview to update before displaying text.
|
||||||
|
Loading…
Reference in New Issue
Block a user