IconEditor/IconEditorPalette.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
--- a/IconEditor/IconEditorPalette.py	Sun Mar 24 13:52:12 2013 +0100
+++ b/IconEditor/IconEditorPalette.py	Mon Mar 25 03:11:06 2013 +0100
@@ -7,6 +7,8 @@
 Module implementing a palette widget for the icon editor.
 """
 
+from __future__ import unicode_literals    # __IGNORE_WARNING__
+
 from PyQt4.QtCore import pyqtSignal, Qt
 from PyQt4.QtGui import QWidget, QColor, QPainter, QBoxLayout, QLabel, QFrame, \
     QPushButton, QSpinBox, QGroupBox, QVBoxLayout, QRadioButton, QSpacerItem, \
@@ -30,7 +32,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        super().__init__(parent)
+        super(IconEditorPalette, self).__init__(parent)
         
         if self.layoutDirection == Qt.Horizontal:
             direction = QBoxLayout.LeftToRight

eric ide

mercurial