Commit 5ed78fb6 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDebugger: Fixing debugid hashes

Reviewed-by: Kai Koehne
parent bdb998eb
...@@ -419,7 +419,7 @@ void ClientProxy::buildDebugIdHashRecursive(const QDeclarativeDebugObjectReferen ...@@ -419,7 +419,7 @@ void ClientProxy::buildDebugIdHashRecursive(const QDeclarativeDebugObjectReferen
int rev = 0; int rev = 0;
// handle the case where the url contains the revision number encoded. (for object created by the debugger) // 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)) { if (rx.exactMatch(filename)) {
filename = rx.cap(1); filename = rx.cap(1);
rev = rx.cap(2).toInt(); rev = rx.cap(2).toInt();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment