it is possible to not be on the scene yet
svn path=/trunk/KDE/kdelibs/; revision=1071841
This commit is contained in:
parent
e23b884920
commit
ae239eed3f
@ -690,10 +690,13 @@ void PopupAppletPrivate::updateDialogPosition()
|
||||
return;
|
||||
}
|
||||
|
||||
KConfigGroup sizeGroup = popupConfigGroup();
|
||||
|
||||
Corona *corona = qobject_cast<Corona *>(q->scene());
|
||||
Q_ASSERT(corona);
|
||||
if (!corona) {
|
||||
return;
|
||||
}
|
||||
|
||||
KConfigGroup sizeGroup = popupConfigGroup();
|
||||
|
||||
int preferredWidth = 0;
|
||||
int preferredHeight = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user