diff options
author | Paul Wicking <paul.wicking@qt.io> | 2020-05-27 15:47:37 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2020-06-04 10:21:10 +0200 |
commit | 69a4c15803b55ca8cff01bc9a92f6b27df377016 (patch) | |
tree | d952cc31ba8f1401cfeaa64411a1e79befe198a9 /src/qdoc/clangcodeparser.h | |
parent | c25772315c8f4e6ddfd203cbc99f598c0ef88fb0 (diff) | |
download | qttools-69a4c15803b55ca8cff01bc9a92f6b27df377016.tar.gz |
QDoc: Drop half-baked translation effort
The current implementation suffers from lack of maintenance. This
causes a poor user experience that adds little value, or is even
detrimental to perceived value. Work to improve the situation would
have to be done at the expense of something else.
This patch removes the Q_DECLARE_TR_FUNCTIONS macros from QDoc, and
replaces calls to tr() with QStringLiteral().
Fixes: QTBUG-84568
Change-Id: I2df71c27246ca5de816608c887cf359db8f85900
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.h')
-rw-r--r-- | src/qdoc/clangcodeparser.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qdoc/clangcodeparser.h b/src/qdoc/clangcodeparser.h index 1575d31fb..ba0ba994c 100644 --- a/src/qdoc/clangcodeparser.h +++ b/src/qdoc/clangcodeparser.h @@ -48,8 +48,6 @@ QT_BEGIN_NAMESPACE class ClangCodeParser : public CppCodeParser { - Q_DECLARE_TR_FUNCTIONS(QDoc::ClangCodeParser) - public: ~ClangCodeParser() override; |