From 4a00705a3681bd3a9b8753121b157d4d030adc36 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 17 Aug 2021 10:08:43 +0200 Subject: [PATCH] - one more gcc 11 fix --- gcc11.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gcc11.patch b/gcc11.patch index 6c22600..651cd80 100644 --- a/gcc11.patch +++ b/gcc11.patch @@ -9,3 +9,14 @@ image->setHeight(*optionalHeight); return image.release(); } +--- qt-everywhere-opensource-src-4.8.7/tools/linguist/linguist/messagemodel.cpp~ 2015-05-07 16:14:39.000000000 +0200 ++++ qt-everywhere-opensource-src-4.8.7/tools/linguist/linguist/messagemodel.cpp 2021-08-17 10:08:13.701417706 +0200 +@@ -183,7 +183,7 @@ + if (ContextItem *c = one->findContext(oc->context())) { + for (int j = 0; j < oc->messageCount(); ++j) { + MessageItem *m = oc->messageItem(j); +- if (c->findMessage(m->text(), m->comment()) >= 0) ++ if (c->findMessage(m->text(), m->comment())) + ++inBoth; + } + } -- 2.44.0