safer
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874231
This commit is contained in:
parent
5c8d95bade
commit
4253ba670d
@ -82,7 +82,7 @@ QPoint popupPosition(const QGraphicsItem *item, const QSize &s)
|
|||||||
Plasma::View *pv = dynamic_cast<Plasma::View *>(v);
|
Plasma::View *pv = dynamic_cast<Plasma::View *>(v);
|
||||||
|
|
||||||
Plasma::Location loc = Floating;
|
Plasma::Location loc = Floating;
|
||||||
if (pv) {
|
if (pv && pv->containment()) {
|
||||||
loc = pv->containment()->location();
|
loc = pv->containment()->location();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user