Linguist: MainWindow: fix Coverity BAD_FREE in about()


Coverity complained that the QMessageBox was created on the stack and
exec() could delete it.

The False Positive triage in Coverity UI is wrong: This is Coverity's
roundabout way of pointing out that the decades-old¹ stack-allocated
dialog antipattern is active here.

¹ https://blogs.kde.org/2009/03/26/how-crash-almost-every-qtkde-application-and-how-fix-it-0/

Apply the usual fix: hold the dialog in QAutoPointer, so it's not
deleted twice.

As a drive-by, replace QStringLiteral().arg() with ""_L1.arg(),
reducing the storage requirements for the string literal by 2x.
QLatin1StringView::(multi)arg() and the _L1 UDL are available in all
picked-to branches.

Amends the start of the public history in this module.

Pick-to: 6.12 6.8
Coverity-Id: 218697
Change-Id: I886ed2adbaa5c1546ff3526550c783d71662fccc
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
commitb67ed65fedb883cca6adf05cbaaeb058b90af5be
parent10515bc2f58be7bd0fdea99b1204ede10f498656
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeThu, 1 Oct 2026 12:36:09 +0000