QmlJSInspector: Disable Zoom Tool for QmlDebugger

Zoom Tool and Select Tool are combined for QmlDebugger.
The Zoom Tool is enabled only for backwards compatibility.

Change-Id: Id66eb94ce0535ccac169fa5a80f937370a0f9f6f
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-04-02 10:30:29 +02:00
parent 1074f9a5e1
commit e32f2d7ffd
8 changed files with 32 additions and 7 deletions

View File

@@ -30,8 +30,7 @@
**************************************************************************/
#include "qmlenginedebugclient.h"
const float CURRENT_SUPPORTED_VERSION = 2.0;
#include "qmljsdebugclientconstants.h"
namespace QmlJsDebugClient {
@@ -80,7 +79,7 @@ void QmlEngineDebugClient::decode(QDataStream &ds,
ds >> data;
int parentId = -1;
if (objectName() == QLatin1String("QmlDebugger") &&
serviceVersion() >= CURRENT_SUPPORTED_VERSION )
serviceVersion() >= Constants::CURRENT_SUPPORTED_VERSION )
ds >> parentId;
o.m_debugId = data.objectId;
o.m_className = data.objectType;