++compile

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639370
This commit is contained in:
Kevin Ottens 2007-03-05 00:30:33 +00:00
parent 454c29f187
commit 27eddeb626

View File

@ -174,7 +174,7 @@ void Button::drawOverlay(QPainter * painter)
void Button::drawSVG(QPainter * painter , const QString& imageName)
{
QString file = Theme().imagePath(imageName);
QString file = Theme().image(imageName);
if (!file.isEmpty()) {
QSvgRenderer svgimg(file);
svgimg.render(painter,this->boundingRect());