switch between popup and full on a startup complete constraint
svn path=/trunk/KDE/kdelibs/; revision=896126
This commit is contained in:
parent
1b3d372062
commit
4b75b49f06
@ -143,6 +143,7 @@ void PopupAppletPrivate::popupConstraintsEvent(Plasma::Constraints constraints)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (constraints & Plasma::FormFactorConstraint ||
|
if (constraints & Plasma::FormFactorConstraint ||
|
||||||
|
constraints & Plasma::StartupCompletedConstraint ||
|
||||||
(constraints & Plasma::SizeConstraint &&
|
(constraints & Plasma::SizeConstraint &&
|
||||||
(f == Plasma::Vertical || f == Plasma::Horizontal))) {
|
(f == Plasma::Vertical || f == Plasma::Horizontal))) {
|
||||||
QGraphicsLinearLayout *lay = dynamic_cast<QGraphicsLinearLayout *>(q->layout());
|
QGraphicsLinearLayout *lay = dynamic_cast<QGraphicsLinearLayout *>(q->layout());
|
||||||
|
Loading…
Reference in New Issue
Block a user