forked from openlp/openlp
Fix controller/theme wizard displays if transparent
This commit is contained in:
parent
46a4bade8c
commit
fcf2eb17f0
@ -351,13 +351,7 @@ class MainDisplay(Display):
|
|||||||
self.setVisible(True)
|
self.setVisible(True)
|
||||||
else:
|
else:
|
||||||
self.setVisible(True)
|
self.setVisible(True)
|
||||||
preview = QtGui.QPixmap(self.screen[u'size'].width(),
|
return QtGui.QPixmap.grabWidget(self)
|
||||||
self.screen[u'size'].height())
|
|
||||||
painter = QtGui.QPainter(preview)
|
|
||||||
painter.setRenderHint(QtGui.QPainter.Antialiasing)
|
|
||||||
self.frame.render(painter)
|
|
||||||
painter.end()
|
|
||||||
return preview
|
|
||||||
|
|
||||||
def buildHtml(self, serviceItem, image=None):
|
def buildHtml(self, serviceItem, image=None):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user