diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-11-12 13:18:02 +0100 |
---|---|---|
committer | Jani Heikkinen <jani.heikkinen@qt.io> | 2018-11-14 09:44:08 +0000 |
commit | 5d2d0564a36f99224dc53ad477416097516c6b77 (patch) | |
tree | 09ba2fb884041d9d2986dee56a24f92d75152f73 /src/plugins/openwnn | |
parent | d6ca2af52b8ee363ae02f111cbc57ebb427754d8 (diff) |
Restrict more sensitive debugging output
There are more places where sensitive information could accidentally be
disclosed.
Also, move SENSITIVE_DEBUG to config.pri so that plugins can use it.
Change-Id: Ifa4ccbd6bf4bf79412f29984c662c9e58ea01992
Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
Reviewed-by: Yuntaek Rim <yuntaek.rim@myscript.com>
Diffstat (limited to 'src/plugins/openwnn')
-rw-r--r-- | src/plugins/openwnn/3rdparty/openwnn/wnnEngine/composingtext.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/openwnn/3rdparty/openwnn/wnnEngine/composingtext.cpp b/src/plugins/openwnn/3rdparty/openwnn/wnnEngine/composingtext.cpp index 1f9ca4ff..b221a7e7 100644 --- a/src/plugins/openwnn/3rdparty/openwnn/wnnEngine/composingtext.cpp +++ b/src/plugins/openwnn/3rdparty/openwnn/wnnEngine/composingtext.cpp @@ -205,6 +205,7 @@ StrSegment ComposingText::getStrSegment(TextLayer layer, int pos) const void ComposingText::debugout() const { +#ifdef SENSITIVE_DEBUG Q_D(const ComposingText); for (int i = LAYER0; i < MAX_LAYER; i++) { QString tmp; @@ -213,6 +214,7 @@ void ComposingText::debugout() const tmp += QStringLiteral("(%1,%2,%3)").arg(it->string).arg(it->from).arg(it->to); } } +#endif } QString ComposingText::toString(TextLayer layer, int from, int to) const |