E5Gui/E5Application.py

changeset 2084
d3f083dd0222
parent 2077
68a34718a0ce
child 2302
f29e9405c851
diff -r 3005ae4463aa -r d3f083dd0222 E5Gui/E5Application.py
--- a/E5Gui/E5Application.py	Mon Oct 01 19:43:54 2012 +0200
+++ b/E5Gui/E5Application.py	Mon Oct 01 19:44:40 2012 +0200
@@ -112,19 +112,5 @@
             return self.__pluginObjectRegistry[name][1]
         else:
             raise KeyError('Pluginobject "{0}" is not registered.'.format(name))
-        
-    @staticmethod
-    def palette():
-        """
-        Static method to get compatibility between Qt4 QApplication and
-        Qt5 QGuiApplication.
-        
-        @return reference to the global palette (QPalette)
-        """
-        try:
-            from PyQt4.QtGui import QGuiApplication
-            return QGuiApplication.palette()
-        except ImportError:
-            return QApplication.palette()
 
 e5App = QCoreApplication.instance

eric ide

mercurial