qt6-bb10/tests/auto/corelib/kernel/qtranslator
Edward Welbourne 86ebe46f59 Make QTranslator::load() insist that its return value be checked
Add Q_REQUIRED_RESULT to force callers to check the return; the
QTranslator object is unusable if load() fails.
Check the result in QTranslator's own test.

Task-number: QTBUG-85700
Change-Id: I07509c76470cc87626190670665cd3162bfb17e7
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-08-28 21:26:21 +02:00
..
.gitignore
CMakeLists.txt CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
android_testdata.qrc Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
dependencies_la.qm Enable modularization of translation files. 2012-07-12 18:30:35 +02:00
dependencies_la.ts Enable modularization of translation files. 2012-07-12 18:30:35 +02:00
hellotr_empty.qm Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
hellotr_empty.ts Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
hellotr_la.qm QTranslator: Expose language of translation file 2020-02-10 15:14:55 +00:00
hellotr_la.ts
msgfmt_from_po.qm
qtranslator.pro Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
qtranslator.qrc Allow loading of empty translation files 2018-07-12 08:54:33 +00:00
tst_qtranslator.cpp Make QTranslator::load() insist that its return value be checked 2020-08-28 21:26:21 +02:00