Require at least Qt 5.10 instead

This commit is contained in:
Veronica Berglyd Olsen
2022-10-15 23:05:43 +02:00
parent 30661130ca
commit 97724054ec
4 changed files with 8 additions and 20 deletions
+1 -4
View File
@@ -303,10 +303,7 @@ class GuiDocEditor(QTextEdit):
self.setHorizontalScrollBarPolicy(Qt.ScrollBarAsNeeded)
# Refresh the tab stops
if self.mainConf.verQtValue >= 51000:
self.setTabStopDistance(self.mainConf.getTabWidth())
else: # pragma: no cover
self.setTabStopWidth(self.mainConf.getTabWidth())
self.setTabStopDistance(self.mainConf.getTabWidth())
# Initialise the syntax highlighter
self.highLight.initHighlighter()