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

PopupWebView: Fix window.close() handling

This commit is contained in:
David Rosca 2017-01-31 20:55:43 +01:00
parent bde4b3ad0e
commit 288150ccf9

View File

@ -56,7 +56,7 @@ void PopupWebView::loadInNewTab(const LoadRequest &req, Qz::NewTabPositionFlags
void PopupWebView::closeView() void PopupWebView::closeView()
{ {
parentWidget()->close(); window()->close();
} }
bool PopupWebView::isFullScreen() bool PopupWebView::isFullScreen()