forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.10'
Conflicts: cmake/QtCreatorIDEBranding.cmake qbs/modules/qtc/qtc.qbs qtcreator_ide_branding.pri src/plugins/projectexplorer/gcctoolchain.cpp src/plugins/qmldesigner/components/stateseditor/stateseditormodel.cpp Change-Id: Iffdf48e782a734107ea170ebb3812e997cea0e7b
This commit is contained in:
@@ -436,7 +436,7 @@ void QmlInspectorAgent::verifyAndInsertObjectInTree(const ObjectReference &objec
|
||||
const auto it = m_debugIdToIname.find(objectDebugId);
|
||||
if (it != m_debugIdToIname.end()) {
|
||||
const QString iname = *it;
|
||||
const int firstIndex = strlen("inspect");
|
||||
const int firstIndex = int(strlen("inspect"));
|
||||
const int secondIndex = iname.indexOf('.', firstIndex + 1);
|
||||
if (secondIndex != -1)
|
||||
engineId = iname.midRef(firstIndex + 1, secondIndex - firstIndex - 1).toInt();
|
||||
|
||||
Reference in New Issue
Block a user