Streamline tst_OperationParameters ignoreMessage() handling


Move the ignoreMessage() into invalidExplodeWarningMsg() where
possible, therefore renaming the function to ignore-.

For the rest, make warningsMsg a const char * instead of a QString, to
avoid all the L1-U16-L1 conversions.

Found by enabling strict mode 6.11 in this module, specifically by
QT_NO_CAST_FROM_BYTEARRAY.

Amends d55e2282f5858dfc79df82e129954a58d6829e95 (6.11).

Pick-to: 6.11
Task-number: QTBUG-145961
Change-Id: Id0e4d4bba4c7b167c081038c278637d211765c71
Reviewed-by: Rym Bouabid <rym.bouabid@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
commit8ddaf1306a7ebc1acb8a5c99bef381ddb7e8d686
parentc954beb124b771c621ffeb770617975d2569b3db
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 28 Apr 2026 09:45:44 +0000