don't reposition over and over again
svn path=/trunk/KDE/kdelibs/; revision=1071890
This commit is contained in:
parent
9685752853
commit
8f19e5f9cb
@ -409,6 +409,12 @@ InternalToolBox::Corner InternalToolBox::corner() const
|
||||
|
||||
void InternalToolBox::setViewTransform(const QTransform &transform)
|
||||
{
|
||||
if (d->viewTransform == transform) {
|
||||
return;
|
||||
}
|
||||
|
||||
d->viewTransform = transform;
|
||||
|
||||
if (transform.isScaling()) {
|
||||
d->toolbar = true;
|
||||
showToolBox();
|
||||
@ -418,7 +424,6 @@ void InternalToolBox::setViewTransform(const QTransform &transform)
|
||||
hideToolBox();
|
||||
}
|
||||
}
|
||||
d->viewTransform = transform;
|
||||
}
|
||||
|
||||
void InternalToolBox::save(KConfigGroup &cg) const
|
||||
|
Loading…
Reference in New Issue
Block a user