From c26cca3441d9b6fd779138d40e2a0f62bcff82c6 Mon Sep 17 00:00:00 2001 From: Noah Rahm Date: Mon, 24 Jun 2024 22:21:21 -0500 Subject: [PATCH] Fix QLibraryInfo.location depreciation --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)