Skip to content

Commit

Permalink
Fix QLibraryInfo.location depreciation
Browse files Browse the repository at this point in the history
  • Loading branch information
Correct-Syntax committed Jun 25, 2024
1 parent df61f26 commit c26cca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c26cca3

Please sign in to comment.