(#773) Fix Qt 5.15 only call in Config

This commit is contained in:
Veronica Berglyd Olsen
2021-05-06 10:35:16 +02:00
parent 35458a7e37
commit 22e8d7ee71
+1 -1
View File
@@ -391,7 +391,7 @@ class Config:
lngFile = "%s_%s" % (lngBase, lngCode.replace("-", "_"))
if lngFile not in self.qtTrans:
if qTrans.load(lngFile, lngPath):
logger.debug("Loaded: %s" % qTrans.filePath())
logger.debug("Loaded: %s" % os.path.join(lngPath, lngFile))
nwApp.installTranslator(qTrans)
self.qtTrans[lngFile] = qTrans