eric6/Debugger/BreakPointViewer.py

branch
without_py2_and_pyqt4
changeset 7198
684261ef2165
parent 6942
2602857055c5
child 7229
53054eb5b15a
diff -r 331569d44b19 -r 684261ef2165 eric6/Debugger/BreakPointViewer.py
--- a/eric6/Debugger/BreakPointViewer.py	Sun Sep 01 17:44:33 2019 +0200
+++ b/eric6/Debugger/BreakPointViewer.py	Sun Sep 01 19:40:53 2019 +0200
@@ -16,8 +16,7 @@
 
 from E5Gui.E5Application import e5App
 
-from Globals import qVersionTuple, recentNameBreakpointFiles, \
-    recentNameBreakpointConditions
+from Globals import recentNameBreakpointFiles, recentNameBreakpointConditions
 
 import Preferences
 
@@ -80,10 +79,7 @@
         header = self.header()
         header.setSortIndicator(0, Qt.AscendingOrder)
         header.setSortIndicatorShown(True)
-        if qVersionTuple() >= (5, 0, 0):
-            header.setSectionsClickable(True)
-        else:
-            header.setClickable(True)
+        header.setSectionsClickable(True)
         
         self.setSortingEnabled(True)
         

eric ide

mercurial