Snapshot/SnapWidget.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2409
df3820f08247
child 2791
a9577f248f04
diff -r 139f182b72f6 -r 8b507a9a2d40 Snapshot/SnapWidget.py
--- a/Snapshot/SnapWidget.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/Snapshot/SnapWidget.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing the snapshot widget.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 #
 # SnapWidget and it's associated modules are PyQt4 ports of Ksnapshot.
 #
@@ -43,7 +45,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(SnapWidget, self).__init__(parent)
         self.setupUi(self)
         
         self.saveButton.setIcon(UI.PixmapCache.getIcon("fileSaveAs.png"))

eric ide

mercurial