eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py

branch
without_py2_and_pyqt4
changeset 7198
684261ef2165
parent 6942
2602857055c5
child 7229
53054eb5b15a
--- a/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py	Sun Sep 01 17:44:33 2019 +0200
+++ b/eric6/Preferences/ConfigurationPages/EditorHighlightingStylesPage.py	Sun Sep 01 19:40:53 2019 +0200
@@ -20,8 +20,6 @@
 
 from E5Gui import E5MessageBox, E5FileDialog
 
-from Globals import qVersionTuple
-
 import UI.PixmapCache
 
 try:
@@ -60,10 +58,6 @@
         self.editSubstyleButton.setIcon(UI.PixmapCache.getIcon("edit"))
         self.copySubstyleButton.setIcon(UI.PixmapCache.getIcon("editCopy"))
         
-        if qVersionTuple() < (5, 0, 0):
-            self.monospacedButton.setChecked(False)
-            self.monospacedButton.hide()
-        
         self.__fontButtonMenu = QMenu()
         act = self.__fontButtonMenu.addAction(self.tr("Font"))
         act.setData(self.FONT)

eric ide

mercurial