1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

WebPage: Check view() for nullptr in windowCloseRequested

Closes #1944
This commit is contained in:
David Rosca 2016-04-14 17:22:33 +02:00
parent c512d2bafc
commit 236eea97f0

View File

@ -318,6 +318,8 @@ void WebPage::setupWebChannel()
void WebPage::windowCloseRequested()
{
if (!view())
return;
view()->closeView();
}