From d3e4cf7a2ddf6721421dd28e0e46598a3cbecd61 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Tue, 26 Oct 2010 20:11:26 +0100 Subject: [PATCH] Remove # --- openlp/core/lib/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py index d5ccb2c93..1ad17a039 100644 --- a/openlp/core/lib/__init__.py +++ b/openlp/core/lib/__init__.py @@ -263,7 +263,7 @@ def resize_image(image, width, height, background=QtCore.Qt.black): # and move it to the centre of the preview space new_image = QtGui.QImage(width, height, QtGui.QImage.Format_ARGB32_Premultiplied) - painter = QtGui.QPainter(new_image)# + painter = QtGui.QPainter(new_image) painter.fillRect(new_image.rect(), background) painter.drawImage((width - realw) / 2, (height - realh) / 2, preview) return new_image