Snapshot/SnapshotPreview.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2993
4933ac9daa80
child 3145
a9de05d4a22f
--- a/Snapshot/SnapshotPreview.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/Snapshot/SnapshotPreview.py	Fri Oct 18 23:00:41 2013 +0200
@@ -42,7 +42,8 @@
         """
         if not preview.isNull():
             pixmap = preview.scaled(
-                self.width(), self.height(), Qt.KeepAspectRatio, Qt.SmoothTransformation)
+                self.width(), self.height(),
+                Qt.KeepAspectRatio, Qt.SmoothTransformation)
         else:
             pixmap = preview
         self.setPixmap(pixmap)

eric ide

mercurial