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.

Pick-to: 6.6 6.5 5.15
Fixes: QTBUG-116517
Initial-patch-by: Yorick Bosman
Change-Id: Ic2ed1d4318d522851278afa7f9791441af4fa709
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Fabian Kosmale 2023-08-28 12:37:28 +02:00
parent e1d00dce31
commit ca4633f243

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()) {