mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:07:45 +00:00
Ladybird/Qt: Make the Inspector widget owned by its parent tab
This ensures the Inspector is closed when the BrowserWindow which owns the tab is closed.
This commit is contained in:
parent
4653733a0d
commit
c55d8a9971
3 changed files with 4 additions and 3 deletions
|
@ -18,7 +18,7 @@ class InspectorWidget final : public QWidget {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit InspectorWidget(WebContentView& content_view);
|
||||
InspectorWidget(QWidget* tab, WebContentView& content_view);
|
||||
virtual ~InspectorWidget() override;
|
||||
|
||||
void inspect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue