1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

WebInspector: Fix closing inspector session when opened from popup window

This commit is contained in:
David Rosca 2015-09-29 23:22:33 +02:00
parent 9072cc65c6
commit ecfae5512a

View File

@ -29,6 +29,7 @@ QList<QWebEngineView*> WebInspector::s_views;
WebInspector::WebInspector(QWidget *parent) WebInspector::WebInspector(QWidget *parent)
: QWebEngineView(parent) : QWebEngineView(parent)
{ {
setAttribute(Qt::WA_DeleteOnClose);
setObjectName(QSL("web-inspector")); setObjectName(QSL("web-inspector"));
setMinimumHeight(80); setMinimumHeight(80);