summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdelibs/kcontrol_crash_patch.diff
blob: 22b3749f62f5314686f8b520c51f82f19938cbe5 (plain)
1
2
3
4
5
6
7
8
9
10
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);