Commit 7cfd0c9b authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDebug: Fix stack elements that are unselectable

parent 304b3c88
......@@ -95,11 +95,16 @@ QString FileInProjectFinder::findFile(const QString &originalPath, bool *success
const QChar separator = QLatin1Char('/');
if (originalPath.startsWith(m_projectDir + separator)) {
if (success)
*success = true;
return originalPath;
}
if (m_cache.contains(originalPath))
if (m_cache.contains(originalPath)) {
if (success)
*success = true;
return m_cache.value(originalPath);
}
// Strip directories one by one from the beginning of the path,
// and see if the new relative path exists in the build directory.
......
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