Snapshot/SnapshotFreehandGrabber.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/Snapshot/SnapshotFreehandGrabber.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Snapshot/SnapshotFreehandGrabber.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a grabber widget for a freehand snapshot region.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import pyqtSignal, Qt, QRect, QPoint, QTimer, qVersion
 from PyQt4.QtGui import QWidget, QPixmap, QColor, QRegion, QApplication, QPainter, \
     QPalette, QToolTip, QPolygon, QPen, QBrush, QPaintEngine
@@ -48,7 +50,7 @@
         """
         Constructor
         """
-        super().__init__(None,
+        super(SnapshotFreehandGrabber, self).__init__(None,
             Qt.X11BypassWindowManagerHint | Qt.WindowStaysOnTopHint |
             Qt.FramelessWindowHint | Qt.Tool)
         

eric ide

mercurial