diff --git a/src/main.py b/src/main.py index 551410b..011744a 100644 --- a/src/main.py +++ b/src/main.py @@ -18,7 +18,7 @@ # TODO: Move the translation code to another file # Load the translations shipped with Qt translator = QTranslator(app) - path = QLibraryInfo.location(QLibraryInfo.TranslationsPath) + path = QLibraryInfo.path(QLibraryInfo.TranslationsPath) if translator.load(QLocale.system(), "qtbase", "_", path): app.installTranslator(translator)