warnings--

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=862051
This commit is contained in:
Sebastian Kügler 2008-09-17 22:38:05 +00:00
parent 8db733b45a
commit 482c6a9f01

View File

@ -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 {