From 428a28e444baafb6e9874fab20d7ddde47f1ed6c Mon Sep 17 00:00:00 2001 From: Abestanis Date: Wed, 9 Oct 2024 01:09:32 +0200 Subject: [PATCH] Switch to QLibraryInfo::path --- src/birdtrayapp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/birdtrayapp.cpp b/src/birdtrayapp.cpp index f942eee0..2ab73647 100644 --- a/src/birdtrayapp.cpp +++ b/src/birdtrayapp.cpp @@ -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;