E5Gui/E5LineEditButton.py

changeset 1131
7781e396c903
parent 945
8cd4d08fa9f6
child 1509
c0b5e693b0eb
diff -r 3e9f0330f833 -r 7781e396c903 E5Gui/E5LineEditButton.py
--- a/E5Gui/E5LineEditButton.py	Sun Jun 19 17:50:39 2011 +0200
+++ b/E5Gui/E5LineEditButton.py	Sun Jun 19 19:36:27 2011 +0200
@@ -21,7 +21,7 @@
         
         @param parent reference to the parent widget (QWidget)
         """
-        QAbstractButton.__init__(self, parent)
+        super().__init__(parent)
         
         self.__menu = None
         self.__image = None
@@ -59,7 +59,7 @@
             self.__image = None
         else:
             self.__image = icon.pixmap(16, 16).toImage()
-        QAbstractButton.setIcon(self, icon)
+        super().setIcon(icon)
     
     def __clicked(self):
         """

eric ide

mercurial