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/qmlvisitor.h | |
parent | c25772315c8f4e6ddfd203cbc99f598c0ef88fb0 (diff) |
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/qmlvisitor.h')
-rw-r--r-- | src/qdoc/qmlvisitor.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qdoc/qmlvisitor.h b/src/qdoc/qmlvisitor.h index c0fe51251..d46bdfb7f 100644 --- a/src/qdoc/qmlvisitor.h +++ b/src/qdoc/qmlvisitor.h @@ -68,8 +68,6 @@ struct QmlPropArgs #ifndef QT_NO_DECLARATIVE class QmlDocVisitor : public QQmlJS::AST::Visitor { - Q_DECLARE_TR_FUNCTIONS(QDoc::QmlDocVisitor) - public: QmlDocVisitor(const QString &filePath, const QString &code, QQmlJS::Engine *engine, const QSet<QString> &commands, const QSet<QString> &topics); |