don't update the position over and over again
svn path=/branches/KDE/4.4/kdelibs/; revision=1071894
This commit is contained in:
parent
2ec16f9d26
commit
55838e20ec
@ -411,6 +411,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();
|
||||
@ -420,7 +426,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