File 0001-Support-SVG-too.patch of Package khtml

From 601fd11e056a72fe03d2dedcd40f480096af3d18 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Mon, 10 Jul 2017 17:31:56 +0200
Subject: [PATCH] Support SVG too

Konqueror's about page doesn't show icons if the breeze icon theme is
used.
The reason is that khtml doesn't support SVG images.
This patch is supposed to fix it by allowing to use Qt's support in that
case.

BUG: 355872
FIXED-IN: 5.37.0
Differential Revision: https://phabricator.kde.org/D6606
---
 src/imload/decoders/qimageioloader.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/imload/decoders/qimageioloader.cpp b/src/imload/decoders/qimageioloader.cpp
index 13b400b..7657e15 100644
--- a/src/imload/decoders/qimageioloader.cpp
+++ b/src/imload/decoders/qimageioloader.cpp
@@ -135,7 +135,7 @@ public:
 };
 
 static const char *const positiveList[] = {
-    "BMP", "TIFF", "JP2", "PNM", "EXR", "XBM", "XPM", "ICO", nullptr
+    "BMP", "TIFF", "JP2", "PNM", "EXR", "XBM", "XPM", "ICO", "SVG", "SVGZ", nullptr
 };
 
 bool isSupportedFormat(QString format)
-- 
2.12.3

openSUSE Build Service is sponsored by