Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Umbrello
Commits
c9a7d77c
Commit
c9a7d77c
authored
Jun 26, 2014
by
Ralf Habacker
Browse files
Win32 fix of absolute file name detection.
parent
cbe3f14c
Changes
1
Hide whitespace changes
Inline
Side-by-side
umbrello/codeimport/nativeimportbase.cpp
View file @
c9a7d77c
...
...
@@ -376,8 +376,9 @@ bool NativeImportBase::parseFile(const QString& filename)
uDebug
()
<<
msgPrefix
<<
"adding path "
<<
path
;
Import_Utils
::
addIncludePath
(
path
);
}
if
(
!
QFile
::
exists
(
filename
))
{
if
(
filename
.
startsWith
(
'/'
))
{
if
(
!
QFile
::
exists
(
filename
))
{
QFileInfo
fi
(
filename
);
if
(
fi
.
isAbsolute
())
{
uError
()
<<
msgPrefix
<<
"cannot find file"
;
return
false
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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