Position the toolbox in the right place after moving the panel
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=875532
This commit is contained in:
parent
f3244ec357
commit
df65542e6a
@ -1596,11 +1596,6 @@ void ContainmentPrivate::containmentConstraintsEvent(Plasma::Constraints constra
|
||||
}
|
||||
}
|
||||
|
||||
if ((constraints & Plasma::SizeConstraint || constraints & Plasma::ScreenConstraint) &&
|
||||
toolBox) {
|
||||
positionToolBox();
|
||||
}
|
||||
|
||||
if (constraints & Plasma::FormFactorConstraint) {
|
||||
if (toolBox) {
|
||||
if (q->formFactor() == Vertical) {
|
||||
@ -1629,6 +1624,11 @@ void ContainmentPrivate::containmentConstraintsEvent(Plasma::Constraints constra
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if ((constraints & Plasma::SizeConstraint || constraints & Plasma::ScreenConstraint) &&
|
||||
toolBox) {
|
||||
positionToolBox();
|
||||
}
|
||||
}
|
||||
|
||||
Applet *ContainmentPrivate::addApplet(const QString &name, const QVariantList &args,
|
||||
|
Loading…
x
Reference in New Issue
Block a user