gwenview: remove obsolete comment about the hint

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-07 16:41:12 +03:00
parent 8bba9e82d6
commit d7ea9b0a57

View file

@ -119,10 +119,6 @@ struct LoadingDocumentImplPrivate
// The hint is used to:
// - Speed up loadMetaInfo(): QImageReader will try to decode the
// image using plugins matching this format first.
// - Avoid breakage: Because of a bug in Qt TGA image plugin, some
// PNG were incorrectly identified as PCX! See:
// https://bugs.kde.org/show_bug.cgi?id=289819
//
mFormatHint = q->document()->url().fileName()
.section('.', -1).toAscii().toLower();
mMetaInfoFutureWatcher.reset(new BoolThread(q, std::bind(&LoadingDocumentImplPrivate::loadMetaInfo, this)));