diff options
Diffstat (limited to 'src/webinspectordock.cpp')
-rw-r--r-- | src/webinspectordock.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/webinspectordock.cpp b/src/webinspectordock.cpp index 2c17a607..55ae11cf 100644 --- a/src/webinspectordock.cpp +++ b/src/webinspectordock.cpp @@ -44,8 +44,7 @@ WebInspectorDock::WebInspectorDock(QString title, QWidget *parent) : QDockWidget(title, parent) { setObjectName("webInspectorDock"); - QWebInspector *inspector = new QWebInspector(this); - setWidget(inspector); + setWidget( new QWebInspector(this) ); } void WebInspectorDock::closeEvent(QCloseEvent *event) |