++compile
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=639370
This commit is contained in:
parent
454c29f187
commit
27eddeb626
@ -174,7 +174,7 @@ void Button::drawOverlay(QPainter * painter)
|
|||||||
|
|
||||||
void Button::drawSVG(QPainter * painter , const QString& imageName)
|
void Button::drawSVG(QPainter * painter , const QString& imageName)
|
||||||
{
|
{
|
||||||
QString file = Theme().imagePath(imageName);
|
QString file = Theme().image(imageName);
|
||||||
if (!file.isEmpty()) {
|
if (!file.isEmpty()) {
|
||||||
QSvgRenderer svgimg(file);
|
QSvgRenderer svgimg(file);
|
||||||
svgimg.render(painter,this->boundingRect());
|
svgimg.render(painter,this->boundingRect());
|
||||||
|
Loading…
Reference in New Issue
Block a user