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)
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user