svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=874231
This commit is contained in:
Aaron J. Seigo 2008-10-21 00:49:07 +00:00
parent 5c8d95bade
commit 4253ba670d

View File

@ -82,7 +82,7 @@ QPoint popupPosition(const QGraphicsItem *item, const QSize &s)
Plasma::View *pv = dynamic_cast<Plasma::View *>(v);
Plasma::Location loc = Floating;
if (pv) {
if (pv && pv->containment()) {
loc = pv->containment()->location();
}