diff options
Diffstat (limited to 'kdecore')
-rw-r--r-- | kdecore/svgicons/ksvgiconengine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kdecore/svgicons/ksvgiconengine.cpp b/kdecore/svgicons/ksvgiconengine.cpp index 2dcd1c226..53a212c37 100644 --- a/kdecore/svgicons/ksvgiconengine.cpp +++ b/kdecore/svgicons/ksvgiconengine.cpp @@ -542,6 +542,8 @@ KSVGIconEngine::~KSVGIconEngine() bool KSVGIconEngine::load(int width, int height, const TQString &path) { + if(path.isNull()) return false; + TQDomDocument svgDocument("svg"); TQFile file(path); |