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
Marco Bubke
flatpak-qt-creator
Commits
60b663d5
Commit
60b663d5
authored
Aug 11, 2010
by
dt
Browse files
Filter non existing folders
parent
65a1c129
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qt4projectmanager/qt4nodes.cpp
View file @
60b663d5
...
...
@@ -557,6 +557,16 @@ void Qt4PriFileNode::update(ProFile *includeFileExact, ProFileReader *readerExac
folders
[
i
]
=
projectDir
+
"/"
+
folders
.
at
(
i
);
}
// Remove non existing items
QStringList
::
iterator
it
=
folders
.
begin
();
while
(
it
!=
folders
.
end
())
{
QFileInfo
fi
(
*
it
);
if
(
!
fi
.
exists
())
it
=
folders
.
erase
(
it
);
else
++
it
;
}
folders
.
removeDuplicates
();
watchFolders
(
folders
.
toSet
());
...
...
Write
Preview
Supports
Markdown
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