(#773) Fix Qt 5.15 only call in Config
This commit is contained in:
+1
-1
@@ -391,7 +391,7 @@ class Config:
|
|||||||
lngFile = "%s_%s" % (lngBase, lngCode.replace("-", "_"))
|
lngFile = "%s_%s" % (lngBase, lngCode.replace("-", "_"))
|
||||||
if lngFile not in self.qtTrans:
|
if lngFile not in self.qtTrans:
|
||||||
if qTrans.load(lngFile, lngPath):
|
if qTrans.load(lngFile, lngPath):
|
||||||
logger.debug("Loaded: %s" % qTrans.filePath())
|
logger.debug("Loaded: %s" % os.path.join(lngPath, lngFile))
|
||||||
nwApp.installTranslator(qTrans)
|
nwApp.installTranslator(qTrans)
|
||||||
self.qtTrans[lngFile] = qTrans
|
self.qtTrans[lngFile] = qTrans
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user