With a few modifications, novelWriter now starts wuth Qt 5.2.1 and Python 3.4.3
This commit is contained in:
+6
-2
@@ -176,8 +176,12 @@ class Config:
|
|||||||
self.osUnknown = True
|
self.osUnknown = True
|
||||||
|
|
||||||
# Other System Info
|
# Other System Info
|
||||||
self.hostName = QSysInfo.machineHostName()
|
if self.verQtValue >= 50600:
|
||||||
self.kernelVer = QSysInfo.kernelVersion()
|
self.hostName = QSysInfo.machineHostName()
|
||||||
|
self.kernelVer = QSysInfo.kernelVersion()
|
||||||
|
else:
|
||||||
|
self.hostName = "Unknown"
|
||||||
|
self.kernelVer = "Unknown"
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
self.hasEnchant = False
|
self.hasEnchant = False
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ class GuiProjectEditStatus(QWidget):
|
|||||||
newItem.setIcon(QIcon(newIcon))
|
newItem.setIcon(QIcon(newIcon))
|
||||||
newItem.setData(Qt.UserRole, len(self.colData))
|
newItem.setData(Qt.UserRole, len(self.colData))
|
||||||
self.listBox.addItem(newItem)
|
self.listBox.addItem(newItem)
|
||||||
self.colData.append((iName,*iCol,oName))
|
self.colData.append((iName,iCol[0],iCol[1],iCol[2],oName))
|
||||||
self.colCounts.append(nUse)
|
self.colCounts.append(nUse)
|
||||||
return newItem
|
return newItem
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,8 @@ class GuiDocHighlighter(QSyntaxHighlighter):
|
|||||||
self.colTagErr = QColor(*self.theTheme.colTagErr)
|
self.colTagErr = QColor(*self.theTheme.colTagErr)
|
||||||
self.colRepTag = QColor(*self.theTheme.colRepTag)
|
self.colRepTag = QColor(*self.theTheme.colRepTag)
|
||||||
self.colMod = QColor(*self.theTheme.colMod)
|
self.colMod = QColor(*self.theTheme.colMod)
|
||||||
self.colTrail = QColor(*self.theTheme.colEmph,64)
|
self.colTrail = QColor(*self.theTheme.colEmph)
|
||||||
|
self.colTrail.setAlpha(64)
|
||||||
|
|
||||||
self.hStyles = {
|
self.hStyles = {
|
||||||
"header1" : self._makeFormat(self.colHead, "bold",1.8),
|
"header1" : self._makeFormat(self.colHead, "bold",1.8),
|
||||||
|
|||||||
Reference in New Issue
Block a user