This commit is contained in:
Tim Bentley 2010-04-23 17:03:12 +01:00
parent e6d6541ca2
commit 460964c371
4 changed files with 11 additions and 3 deletions

View File

@ -193,7 +193,13 @@ def main():
qInitResources()
# Now create and actually run the application.
app = OpenLP(qt_args)
sys.exit(app.run())
try:
a = app.run()
print a
except:
log.exception(u'it went bang')
sys.exit(a)
if __name__ == u'__main__':
"""

View File

@ -425,7 +425,7 @@ class MediaManagerItem(QtGui.QWidget):
else:
#Is it posssible to process multiple list items to generate multiple
#service items?
if self.singleServiceItem:
if self.singleServiceItem or self.remoteTriggered:
log.debug(self.PluginNameShort + u' Add requested')
service_item = self.buildServiceItem()
if service_item:

View File

@ -244,6 +244,7 @@ class Renderer(object):
bbox1 = self._render_lines_unaligned(footer_lines, True)
# reset the frame. first time do not worry about what you paint on.
self._frame = QtGui.QImage(self.bg_frame)
if self._theme.display_slideTransition:
self._frameOp = QtGui.QImage(self.bg_frame)
x, y = self._correctAlignment(self._rect, bbox)
bbox = self._render_lines_unaligned(lines, False, (x, y), True)

View File

@ -653,6 +653,7 @@ class ServiceManager(QtGui.QWidget):
"""
sitem, count = self.findServiceItem()
item.render()
print self.remoteEditTriggered
if self.remoteEditTriggered:
item.merge(self.serviceItems[sitem][u'service_item'])
self.serviceItems[sitem][u'service_item'] = item