SVN_SILENT: fix style

svn path=/trunk/KDE/kdelibs/; revision=1002137
This commit is contained in:
Aaron J. Seigo 2009-07-25 05:47:12 +00:00
parent 51434fc5f1
commit 9fb9ee1b0e

View File

@ -108,8 +108,10 @@ class EmptyGraphicsItem : public QGraphicsItem
void setRect(const QRectF &rect) void setRect(const QRectF &rect)
{ {
if (m_rect == rect) if (m_rect == rect) {
return; return;
}
//kDebug() << "setting rect to" << rect; //kDebug() << "setting rect to" << rect;
prepareGeometryChange(); prepareGeometryChange();
m_rect = rect; m_rect = rect;
@ -512,8 +514,9 @@ void DesktopToolBox::showToolBox()
{ {
setFlag(ItemIgnoresTransformations, isToolbar()); setFlag(ItemIgnoresTransformations, isToolbar());
if (showing() && !isToolbar()) if (showing() && !isToolbar()) {
return; return;
}
// put tools 5px from icon edge // put tools 5px from icon edge
const int iconWidth = KIconLoader::SizeMedium; const int iconWidth = KIconLoader::SizeMedium;