QAccessibleWidget: Remove pointless ZWSP in warning message

There doesn't seem to be reason for it to exist, and apparently it
causes compilation failures with icc.

Fixes: QTBUG-116517
Initial-patch-by: Yorick Bosman
Change-Id: Ic2ed1d4318d522851278afa7f9791441af4fa709
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit ca4633f243a23de1848ebf32aef45f23d6d18154)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Fabian Kosmale 2023-08-28 12:37:28 +02:00 committed by Qt Cherry-pick Bot
parent faee1c1640
commit 37e3596808

View File

@ -868,7 +868,7 @@ QString QAccessibleTextWidget::attributes(int offset, int *startOffset, int *end
underlineStyleValue = QStringLiteral("wave"); // this is not correct, but provides good approximation at least underlineStyleValue = QStringLiteral("wave"); // this is not correct, but provides good approximation at least
break; break;
default: default:
qWarning() << "Unknown QTextCharFormat::UnderlineStyle value " << underlineStyle << " could not be translated to IAccessible2 value"; qWarning() << "Unknown QTextCharFormat::UnderlineStyle value " << underlineStyle << " could not be translated to IAccessible2 value";
break; break;
} }
if (!underlineStyleValue.isNull()) { if (!underlineStyleValue.isNull()) {