OSDN Git Service

QmlJsInspector: Fix typo in method name
authorKai Koehne <kai.koehne@nokia.com>
Thu, 2 Dec 2010 10:15:32 +0000 (11:15 +0100)
committerKai Koehne <kai.koehne@nokia.com>
Fri, 3 Dec 2010 09:40:01 +0000 (10:40 +0100)
src/plugins/qmljsinspector/qmljsclientproxy.cpp
src/plugins/qmljsinspector/qmljsclientproxy.h

index 26a5e46..b8a20d4 100644 (file)
@@ -356,11 +356,11 @@ void ClientProxy::contextChanged()
         m_objectTreeQuery.clear();
         m_requestObjectsTimer.stop();
 
-        fetchContextObjectRecusrsive(rootContext);
+        fetchContextObjectRecursive(rootContext);
     }
 }
 
-void ClientProxy::fetchContextObjectRecusrsive(const QDeclarativeDebugContextReference& context)
+void ClientProxy::fetchContextObjectRecursive(const QDeclarativeDebugContextReference& context)
 {
     foreach (const QDeclarativeDebugObjectReference & obj, context.objects()) {
         QDeclarativeDebugObjectQuery* query = m_engineClient->queryObjectRecursive(obj, this);
@@ -374,7 +374,7 @@ void ClientProxy::fetchContextObjectRecusrsive(const QDeclarativeDebugContextRef
         }
     }
     foreach (const QDeclarativeDebugContextReference& child, context.contexts()) {
-        fetchContextObjectRecusrsive(child);
+        fetchContextObjectRecursive(child);
     }
 }
 
index 50f9e4a..96d735d 100644 (file)
@@ -133,7 +133,7 @@ private slots:
     void onCurrentObjectsChanged(const QList<int> &debugIds, bool requestIfNeeded = true);
     void updateEngineList();
     void objectTreeFetched(QDeclarativeDebugQuery::State state = QDeclarativeDebugQuery::Completed);
-    void fetchContextObjectRecusrsive(const QmlJsDebugClient::QDeclarativeDebugContextReference& context);
+    void fetchContextObjectRecursive(const QmlJsDebugClient::QDeclarativeDebugContextReference& context);
     void newObjects();
 
 private: