From 5ed78fb633b448488d7ed2c758d0bf818e0a20b5 Mon Sep 17 00:00:00 2001
From: Christiaan Janssen <christiaan.janssen@nokia.com>
Date: Tue, 14 Dec 2010 16:21:47 +0100
Subject: [PATCH] QmlDebugger:  Fixing debugid hashes

Reviewed-by: Kai Koehne
---
 src/plugins/qmljsinspector/qmljsclientproxy.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/qmljsinspector/qmljsclientproxy.cpp b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
index b8a20d44e80..5387367112c 100644
--- a/src/plugins/qmljsinspector/qmljsclientproxy.cpp
+++ b/src/plugins/qmljsinspector/qmljsclientproxy.cpp
@@ -419,7 +419,7 @@ void ClientProxy::buildDebugIdHashRecursive(const QDeclarativeDebugObjectReferen
     int rev = 0;
 
     // handle the case where the url contains the revision number encoded. (for object created by the debugger)
-    static QRegExp rx("^file://(.*)_(\\d+):(\\d+)$");
+    static QRegExp rx("(.*)_(\\d+):(\\d+)$");
     if (rx.exactMatch(filename)) {
         filename = rx.cap(1);
         rev = rx.cap(2).toInt();
-- 
GitLab