You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/opensuse/tdelibs/kcontrol_crash_patch.diff

12 lines
346 B

--- 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);