GCC 3.3.5: fixed error before '.'

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=704155
This commit is contained in:
Jarosław Staniek 2007-08-24 07:14:24 +00:00
parent 773612ac44
commit 79323a4399

View File

@ -706,10 +706,11 @@ void Applet::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QW
//TODO: make pretty.
painter->setBrush(QBrush(color(), Qt::SolidPattern));
painter->drawRoundRect(boundingRect());
int iconDim = KIconLoader().currentSize(K3Icon::Desktop);
int iconDim = KIconLoader::global()->currentSize(K3Icon::Desktop);
qreal midX = (boundingRect().width() / 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
} */
}