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)
|
||||
else:
|
||||
self.setVisible(True)
|
||||
preview = QtGui.QPixmap(self.screen[u'size'].width(),
|
||||
self.screen[u'size'].height())
|
||||
painter = QtGui.QPainter(preview)
|
||||
painter.setRenderHint(QtGui.QPainter.Antialiasing)
|
||||
self.frame.render(painter)
|
||||
painter.end()
|
||||
return preview
|
||||
return QtGui.QPixmap.grabWidget(self)
|
||||
|
||||
def buildHtml(self, serviceItem, image=None):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user