Qml JS Debugger: Change context path from Creator's crumble path

This commit is contained in:
Lasse Holmstedt
2010-08-03 10:17:09 +02:00
parent 5f7969d08a
commit 3e9193021c
15 changed files with 57 additions and 4 deletions

View File

@@ -462,12 +462,18 @@ void ClientProxy::createQmlObject(const QString &qmlText, int parentDebugId,
m_designClient->createQmlObject(qmlText, parentDebugId, imports, filename);
}
void QmlJSInspector::Internal::ClientProxy::destroyQmlObject(int debugId)
void ClientProxy::destroyQmlObject(int debugId)
{
if (isDesignClientConnected())
m_designClient->destroyQmlObject(debugId);
}
void ClientProxy::setContextPathIndex(int contextIndex)
{
if (isDesignClientConnected())
m_designClient->setContextPathIndex(contextIndex);
}
bool ClientProxy::isDesignClientConnected() const
{