QmlDebugger: Fixing debugid hashes

Reviewed-by: Kai Koehne
This commit is contained in:
Christiaan Janssen
2010-12-14 16:21:47 +01:00
parent bdb998eb3b
commit 5ed78fb633

View File

@@ -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();