it is possible to not be on the scene yet
svn path=/branches/KDE/4.4/kdelibs/; revision=1071844
This commit is contained in:
parent
b35c1c7523
commit
2ec16f9d26
@ -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