Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
7cfd0c9b
Commit
7cfd0c9b
authored
Mar 07, 2011
by
Kai Koehne
Browse files
QmlDebug: Fix stack elements that are unselectable
parent
304b3c88
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/fileinprojectfinder.cpp
View file @
7cfd0c9b
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment