nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 7099fe1ffe7688b6e7cb1bbb48b2e1f55bdf366b
parent f1c00ea1343d9c0b9a0cfc4c9a000c57911908da
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sun, 27 Dec 2020 23:57:59 +0300

gpxsee: update patch

Diffstat:
Mpkgs/applications/gpxsee/fix-qttranslations-path.patch | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/pkgs/applications/gpxsee/fix-qttranslations-path.patch b/pkgs/applications/gpxsee/fix-qttranslations-path.patch @@ -1,18 +1,18 @@ diff --git i/src/GUI/app.cpp w/src/GUI/app.cpp -index 10e84d5..1e0abbe 100644 +index 37e9d3f..d4a065c 100644 --- i/src/GUI/app.cpp +++ w/src/GUI/app.cpp -@@ -34,11 +34,10 @@ App::App(int &argc, char **argv) : QApplication(argc, argv) - installTranslator(gpxsee); +@@ -35,11 +35,10 @@ App::App(int &argc, char **argv) : QApplication(argc, argv) + installTranslator(gpxsee); QTranslator *qt = new QTranslator(this); -#if defined(Q_OS_WIN32) || defined(Q_OS_MAC) +#if defined(Q_OS_WIN32) - qt->load(QLocale::system(), "qt", "_", ProgramPaths::translationsDir()); + if (qt->load(QLocale::system(), "qt", "_", ProgramPaths::translationsDir())) #else // Q_OS_WIN32 || Q_OS_MAC -- qt->load(QLocale::system(), "qt", "_", QLibraryInfo::location( -- QLibraryInfo::TranslationsPath)); -+ qt->load(QLocale::system(), "qt", "_", QLatin1String("@qttranslations@/translations")); +- if (qt->load(QLocale::system(), "qt", "_", QLibraryInfo::location( +- QLibraryInfo::TranslationsPath))) ++ if (qt->load(QLocale::system(), "qt", "_", QLatin1String("@qttranslations@/translations"))) #endif // Q_OS_WIN32 || Q_OS_MAC - installTranslator(qt); + installTranslator(qt);