QmlJSInspector: UI changes

The dock widgets are always enabled. Follow same
behaviour for QmlJSInspector.

Change-Id: Ia13a8041c96c0ff92d6f67920c2a5f908f520ad0
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-03-29 10:47:49 +02:00
committed by Kai Koehne
parent c59766da4d
commit 159058d9eb

View File

@@ -637,15 +637,15 @@ void InspectorUi::changePropertyValue(int debugId,const QString &propertyName, c
void InspectorUi::enable()
{
m_toolBar->enable();
m_crumblePath->setEnabled(true);
m_propertyInspector->setEnabled(true);
m_crumblePath->clear();
m_propertyInspector->clear();
}
void InspectorUi::disable()
{
m_toolBar->disable();
m_crumblePath->setEnabled(false);
m_propertyInspector->setEnabled(false);
m_crumblePath->clear();
m_propertyInspector->clear();
}
QmlDebugObjectReference InspectorUi::objectReferenceForLocation(const QString &fileName, int cursorPosition) const