summaryrefslogtreecommitdiffstats
path: root/opensuse/tdelibs/kcontrol_crash_patch.diff
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/tdelibs/kcontrol_crash_patch.diff')
-rw-r--r--opensuse/tdelibs/kcontrol_crash_patch.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/opensuse/tdelibs/kcontrol_crash_patch.diff b/opensuse/tdelibs/kcontrol_crash_patch.diff
new file mode 100644
index 000000000..22b3749f6
--- /dev/null
+++ b/opensuse/tdelibs/kcontrol_crash_patch.diff
@@ -0,0 +1,11 @@
+--- kdecore/svgicons/ksvgiconengine.cpp.orig 2011-03-15 01:29:21.172970849 +0300
++++ kdecore/svgicons/ksvgiconengine.cpp 2011-03-15 01:42:09.904779795 +0300
+@@ -538,6 +538,8 @@
+
+ bool KSVGIconEngine::load(int width, int height, const QString &path)
+ {
++ if(path.isNull()) return false;
++
+ QDomDocument svgDocument("svg");
+ QFile file(path);
+