GCC 3.3.5: fixed error before '.'
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=704155
This commit is contained in:
parent
773612ac44
commit
79323a4399
@ -706,10 +706,11 @@ void Applet::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QW
|
|||||||
//TODO: make pretty.
|
//TODO: make pretty.
|
||||||
painter->setBrush(QBrush(color(), Qt::SolidPattern));
|
painter->setBrush(QBrush(color(), Qt::SolidPattern));
|
||||||
painter->drawRoundRect(boundingRect());
|
painter->drawRoundRect(boundingRect());
|
||||||
int iconDim = KIconLoader().currentSize(K3Icon::Desktop);
|
int iconDim = KIconLoader::global()->currentSize(K3Icon::Desktop);
|
||||||
qreal midX = (boundingRect().width() / 2) - (iconDim / 2);
|
qreal midX = (boundingRect().width() / 2) - (iconDim / 2);
|
||||||
qreal midY = (boundingRect().height() / 2) - (iconDim / 2);
|
qreal midY = (boundingRect().height() / 2) - (iconDim / 2);
|
||||||
KIcon(icon()).paint(painter, (int)midX, (int)midY, iconDim, iconDim);
|
KIcon ico(icon());
|
||||||
|
ico.paint(painter, (int)midX, (int)midY, iconDim, iconDim);
|
||||||
}/* else if (zoomLevel == scalingFactor(Plasma::OverviewZoom)) { //Show Groups only
|
}/* else if (zoomLevel == scalingFactor(Plasma::OverviewZoom)) { //Show Groups only
|
||||||
} */
|
} */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user