From d17911c3e08419a44327675ab24f3a8bd89e5bbf Mon Sep 17 00:00:00 2001
From: Aurindam Jana <aurindam.jana@nokia.com>
Date: Thu, 29 Mar 2012 10:11:18 +0200
Subject: [PATCH] QmlJSInspector: Add to Window->Views

Regression introduced by 47fedc3d8a25ce0c93cc5ee9fb96f93ad530bf09

Change-Id: I0c51c5503d94bab63842224e06c6bee391c93d70
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
---
 src/plugins/qmljsinspector/qmljsinspector.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/plugins/qmljsinspector/qmljsinspector.cpp b/src/plugins/qmljsinspector/qmljsinspector.cpp
index af53c0c85c5..da9f5fb4cf9 100644
--- a/src/plugins/qmljsinspector/qmljsinspector.cpp
+++ b/src/plugins/qmljsinspector/qmljsinspector.cpp
@@ -741,6 +741,8 @@ void InspectorUi::setupDockWidgets()
     dock->setAllowedAreas(Qt::TopDockWidgetArea | Qt::BottomDockWidgetArea);
     dock->setTitleBarWidget(new QWidget(dock));
 
+    mw->addStagedMenuEntries();
+
     Aggregation::Aggregate *aggregate = new Aggregation::Aggregate();
     aggregate->add(m_propertyInspector);
     aggregate->add(new Find::TreeViewFind(m_propertyInspector));
-- 
GitLab