fix logical bug: non themed images work now too

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=688651
This commit is contained in:
Urs Wolfer 2007-07-16 14:19:36 +00:00
parent b4accded7e
commit 44f3ee81c7

View File

@ -63,7 +63,7 @@ class Svg::Private
: renderer(0),
contentType(Svg::SingleImage)
{
if (QDir::isAbsolutePath(themePath)) {
if (QDir::isAbsolutePath(imagePath)) {
path = imagePath;
themed = false;
} else {