Skip to content

Commit

Permalink
QDecompressHelper: add comment for translators in readBrotli()
Browse files Browse the repository at this point in the history
Spotted by Friedemann Kleint in code review.

Amends 763c47e.

Pick-to: 6.9
Change-Id: I3092c51964c167da30b6d1400ab2ba1e2f4df829
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
  • Loading branch information
Ahmad Samir committed Dec 19, 2024
1 parent 1ce0198 commit d983a40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/network/access/qdecompresshelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ qsizetype QDecompressHelper::readBrotli(char *data, const qsizetype maxSize)
switch (result) {
Q_UNLIKELY_BRANCH
case BROTLI_DECODER_RESULT_ERROR:
//: Brotli (compression algorithm) decoding error, e.g. corrupted input or memory allocation problem.
errorStr = QCoreApplication::translate("QHttp", "Brotli error: %1")
.arg(QUtf8StringView{BrotliDecoderErrorString(
BrotliDecoderGetErrorCode(brotliDecoderState))});
Expand Down

0 comments on commit d983a40

Please sign in to comment.