warnings--
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862051
This commit is contained in:
parent
8db733b45a
commit
482c6a9f01
3
svg.cpp
3
svg.cpp
@ -121,6 +121,7 @@ class SvgPrivate
|
|||||||
|
|
||||||
void findInCache(QPixmap& p, const QString& elementId, const QPainter *itemPainter, const QSizeF &s = QSizeF())
|
void findInCache(QPixmap& p, const QString& elementId, const QPainter *itemPainter, const QSizeF &s = QSizeF())
|
||||||
{
|
{
|
||||||
|
Q_UNUSED( itemPainter );
|
||||||
createRenderer();
|
createRenderer();
|
||||||
|
|
||||||
QSize size;
|
QSize size;
|
||||||
@ -319,7 +320,7 @@ Svg::~Svg()
|
|||||||
void Svg::paint(QPainter* painter, const QPointF& point, const QString& elementID)
|
void Svg::paint(QPainter* painter, const QPointF& point, const QString& elementID)
|
||||||
{
|
{
|
||||||
QPixmap pix;
|
QPixmap pix;
|
||||||
|
|
||||||
if (elementID.isNull()) {
|
if (elementID.isNull()) {
|
||||||
d->findInCache(pix, elementID, painter, size());
|
d->findInCache(pix, elementID, painter, size());
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user