diff options
author | André Klitzing <aklitzing@gmail.com> | 2020-02-19 15:10:36 +0100 |
---|---|---|
committer | André Klitzing <aklitzing@gmail.com> | 2020-02-19 15:22:20 +0100 |
commit | 2eb5b3f5c5f32404b8cb4ebb1d65ed5d5781b9f3 (patch) | |
tree | 20246387c51c6bb42d9d209f6c8b8889ea45d71f | |
parent | 8ccc86d31933054edc02487d29328e109e4a1bc4 (diff) |
Fix broken -no-qml-debug
4975a33ba9aa357ba2bca93e292b1fbcfb34c24e introduced QQmlDebugTranslationService.
If -no-qml-debug is provided the dummy class misses "public:".
qml/qqmlbinding.cpp:401:54: error: 'virtual void QQmlDebugTranslationService::foundTranslationBinding(QQmlTranslationBinding*, QObject*, QQmlContextData*)' is private within this context
Change-Id: I0f4ebd4d935a17aa7a679d2d87d98d03b0e1fcbb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
-rw-r--r-- | src/qml/debugger/qqmldebugserviceinterfaces_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/debugger/qqmldebugserviceinterfaces_p.h b/src/qml/debugger/qqmldebugserviceinterfaces_p.h index 644d9d6ba9..b259e047a1 100644 --- a/src/qml/debugger/qqmldebugserviceinterfaces_p.h +++ b/src/qml/debugger/qqmldebugserviceinterfaces_p.h @@ -105,6 +105,7 @@ class QDebugMessageService {}; class QQmlEngineControlService {}; class QQmlNativeDebugService {}; class QQmlDebugTranslationService { +public: virtual QString foundElidedText(QObject *, const QString &, const QString &) {return {};} virtual void foundTranslationBinding(QQmlTranslationBinding *, QObject *, QQmlContextData *) {} }; |