Require at least Qt 5.10 instead

This commit is contained in:
Veronica Berglyd Olsen committed 2022-10-15 23:05:43 +02:00
1 parent 30661130ca
commit 97724054ec
4 files changed
+8 -20

No files matched your search

+1 -4
View File
@@ -1265,10 +1265,7 @@ class GuiBuildNovelDocView(QTextBrowser):
self.setFont(theFont)
# Set 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())
docPalette = self.palette()
docPalette.setColor(QPalette.Base, QColor(255, 255, 255))