Bug 851438 - crash [@ MozQWidget::showEvent] r=romaxa. DONTBUILD

This commit is contained in:
Tatiana Meshkova 2013-03-15 00:56:04 -07:00
parent a8e23ec7ba
commit c5dfe5a176

View File

@ -414,7 +414,9 @@ void MozQWidget::hideEvent(QHideEvent* aEvent)
void MozQWidget::showEvent(QShowEvent* aEvent)
{
mReceiver->showEvent(aEvent);
if (mReceiver) {
mReceiver->showEvent(aEvent);
}
QGraphicsWidget::showEvent(aEvent);
}