]> git.pld-linux.org Git - packages/qt4.git/blob - gcc11.patch
- fix building with gcc 11
[packages/qt4.git] / gcc11.patch
1 --- qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp~    2015-05-07 16:14:47.000000000 +0200
2 +++ qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp     2021-08-16 18:44:52.721008091 +0200
3 @@ -74,7 +74,7 @@
4      RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document));
5      if (optionalWidth)
6          image->setWidth(*optionalWidth);
7 -    if (optionalHeight > 0)
8 +    if (optionalHeight)
9          image->setHeight(*optionalHeight);
10      return image.release();
11  }
This page took 0.112326 seconds and 3 git commands to generate.