SVN_SILENT: fix style
svn path=/trunk/KDE/kdelibs/; revision=1002137
This commit is contained in:
parent
51434fc5f1
commit
9fb9ee1b0e
@ -108,8 +108,10 @@ class EmptyGraphicsItem : public QGraphicsItem
|
||||
|
||||
void setRect(const QRectF &rect)
|
||||
{
|
||||
if (m_rect == rect)
|
||||
if (m_rect == rect) {
|
||||
return;
|
||||
}
|
||||
|
||||
//kDebug() << "setting rect to" << rect;
|
||||
prepareGeometryChange();
|
||||
m_rect = rect;
|
||||
@ -512,8 +514,9 @@ void DesktopToolBox::showToolBox()
|
||||
{
|
||||
setFlag(ItemIgnoresTransformations, isToolbar());
|
||||
|
||||
if (showing() && !isToolbar())
|
||||
if (showing() && !isToolbar()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// put tools 5px from icon edge
|
||||
const int iconWidth = KIconLoader::SizeMedium;
|
||||
|
Loading…
Reference in New Issue
Block a user