Skip to content

Commit

Permalink
Switch to QLibraryInfo::path
Browse files Browse the repository at this point in the history
  • Loading branch information
Abestanis committed Oct 8, 2024
1 parent f77be6f commit 428a28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/birdtrayapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ bool BirdtrayApp::loadTranslations() {
[](QString path) { return path.append("/translations"); });
QLocale locale = QLocale::system();
bool success = loadTranslation(
qtTranslator, locale, "qt", {QLibraryInfo::location(QLibraryInfo::TranslationsPath)});
qtTranslator, locale, "qt", {QLibraryInfo::path(QLibraryInfo::TranslationsPath)});
success &= loadTranslation(dynamicTranslator, locale, "dynamic", locations);
success &= loadTranslation(mainTranslator, locale, "main", locations);
return success;
Expand Down

0 comments on commit 428a28e

Please sign in to comment.