forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user