check value of view
BUG:274202
This commit is contained in:
parent
13adc2ddd2
commit
394979daa4
@ -484,8 +484,11 @@ QPoint Corona::popupPosition(const QGraphicsItem *item, const QSize &s, Qt::Alig
|
|||||||
|
|
||||||
kDebug() << actualItem;
|
kDebug() << actualItem;
|
||||||
|
|
||||||
if (!v->isVisible() && actualItem) {
|
if (actualItem) {
|
||||||
v = viewFor(actualItem);
|
QGraphicsView *parentView = viewFor(actualItem);
|
||||||
|
if (parentView) {
|
||||||
|
v = parentView;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user