summarylogtreecommitdiffstats
path: root/qt4-gcc11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qt4-gcc11.patch')
-rw-r--r--qt4-gcc11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt4-gcc11.patch b/qt4-gcc11.patch
new file mode 100644
index 000000000000..1227854bdcf1
--- /dev/null
+++ b/qt4-gcc11.patch
@@ -0,0 +1,11 @@
+--- tools/linguist/linguist/messagemodel.cpp 2021-06-07 12:18:43.713434493 +0200
++++ tools/linguist/linguist/messagemodel.cpp 2021-06-07 12:24:24.828016548 +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;
+ }
+ }