openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #15994
[Merge] lp:~googol/openlp/ticket-729 into lp:openlp
Andreas Preikschat has proposed merging lp:~googol/openlp/ticket-729 into lp:openlp.
Requested reviews:
Tim Bentley (trb143)
Raoul Snyman (raoul-snyman)
For more details, see:
https://code.launchpad.net/~googol/openlp/ticket-729/+merge/110362
Hello,
- fixed ticket 729 (http://support.openlp.org/issues/729)
--
https://code.launchpad.net/~googol/openlp/ticket-729/+merge/110362
Your team OpenLP Core is subscribed to branch lp:openlp.
=== modified file 'openlp/core/ui/maindisplay.py'
--- openlp/core/ui/maindisplay.py 2012-06-09 23:14:28 +0000
+++ openlp/core/ui/maindisplay.py 2012-06-14 15:54:40 +0000
@@ -130,9 +130,10 @@
else:
self.audioPlayer = None
self.firstTime = True
+ self.webLoaded = True
self.setStyleSheet(u'border: 0px; margin: 0px; padding: 0px;')
windowFlags = QtCore.Qt.FramelessWindowHint | QtCore.Qt.Tool | \
- QtCore.Qt.WindowStaysOnTopHint
+ QtCore.Qt.WindowStaysOnTopHint
if Settings().value(u'advanced/x11 bypass wm',
QtCore.QVariant(True)).toBool():
windowFlags |= QtCore.Qt.X11BypassWindowManagerHint
@@ -194,15 +195,15 @@
Display.setup(self)
if self.isLive:
# Build the initial frame.
- image_file = Settings().value(u'advanced/default image',
- QtCore.QVariant(u':/graphics/openlp-splash-screen.png'))\
- .toString()
background_color = QtGui.QColor()
background_color.setNamedColor(Settings().value(
u'advanced/default color',
QtCore.QVariant(u'#ffffff')).toString())
if not background_color.isValid():
background_color = QtCore.Qt.white
+ image_file = Settings().value(u'advanced/default image',
+ QtCore.QVariant(u':/graphics/openlp-splash-screen.png'))\
+ .toString()
splash_image = QtGui.QImage(image_file)
self.initialFrame = QtGui.QImage(
self.screen[u'size'].width(),
@@ -289,10 +290,10 @@
def image(self, name):
"""
- Add an image as the background. The image has already been added
- to the cache.
+ Add an image as the background. The image has already been added to the
+ cache.
- ``Image``
+ ``name``
The name of the image to be displayed.
"""
log.debug(u'image to display')
Follow ups