summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/textdocument-end/textdocumentendsnippet.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-07-21 16:25:00 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-08-28 21:26:21 +0200
commit86ebe46f591d33dc76e2f764524c988dd72f4437 (patch)
treed111b4f65b0c93368951de0a04a73b12798be5d1 /src/gui/doc/snippets/textdocument-end/textdocumentendsnippet.cpp
parenta144820ae775c630bc9aed40c35af3f93518187c (diff)
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>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-end/textdocumentendsnippet.cpp')
0 files changed, 0 insertions, 0 deletions