diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2019-10-01 04:13:31 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2019-10-01 04:13:31 +0000 |
commit | c45de9579f6ec97574056dd335df02031ccd00ad (patch) | |
tree | bf42b7c476faa7a6183d0feaa4c65bb90053847d /devel/qt5-linguisttools/files/patch-src_linguist_lrelease_main.cpp | |
parent | irc/py-limnoria: Backport Web plugin bugfixes (diff) |
Qt5 update to 5.13.0
For new features, check: https://wiki.qt.io/New_Features_in_Qt_5.13
Thanks to adridg who helped to fix a lot of packages.
Exp-run by: antoine
PR: 238782
Diffstat (limited to 'devel/qt5-linguisttools/files/patch-src_linguist_lrelease_main.cpp')
-rw-r--r-- | devel/qt5-linguisttools/files/patch-src_linguist_lrelease_main.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/qt5-linguisttools/files/patch-src_linguist_lrelease_main.cpp b/devel/qt5-linguisttools/files/patch-src_linguist_lrelease_main.cpp new file mode 100644 index 000000000000..2cee8e13ace2 --- /dev/null +++ b/devel/qt5-linguisttools/files/patch-src_linguist_lrelease_main.cpp @@ -0,0 +1,19 @@ +This is upstream as + +https://code.qt.io/cgit/qt/qttools.git/commit/src/linguist/lrelease?h=5.13.1&id=6a832f5474d3b4f789e4bcdebcd425e5ec98423f + +in 5.13.1 + +--- src/linguist/lrelease/main.cpp.orig 2019-09-01 11:53:23 UTC ++++ src/linguist/lrelease/main.cpp +@@ -180,7 +180,9 @@ static QStringList translationsFromProjects(const Proj + + static QStringList translationsFromProject(const Project &project, bool topLevel) + { +- QStringList result = *project.translations; ++ QStringList result; ++ if (project.translations) ++ result << *project.translations; + result << translationsFromProjects(project.subProjects, false); + if (topLevel && result.isEmpty()) { + printErr(LR::tr("lrelease warning: Met no 'TRANSLATIONS' entry in project file '%1'\n") |