]> git.pld-linux.org Git - packages/qt4.git/commitdiff
- one more gcc 11 fix
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Aug 2021 08:08:43 +0000 (10:08 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 17 Aug 2021 08:08:43 +0000 (10:08 +0200)
gcc11.patch

index 6c22600b84cf2178390dfe6a83f3db323f382636..651cd8036c493911c43e917dc8b9fd9c9d0eb812 100644 (file)
@@ -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;
+             }
+         }
This page took 0.161581 seconds and 4 git commands to generate.