[Bug 78776] crash in CustomProjectPart::populateProject populating new project
Jens Dagerbo
jens.dagerbo at swipnet.se
Wed Mar 31 10:27:19 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=78776
jens.dagerbo swipnet se changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From jens.dagerbo swipnet se 2004-03-31 10:27 -------
CVS commit by dagerbo:
Don't crash when we don't have permission to read a directory.
CCMAIL: 78776-done bugs kde org
M +16 -13 customprojectpart.cpp 1.73
--- kdevelop/buildtools/custommakefiles/customprojectpart.cpp #1.72:1.73
@ -273,4 +273,6 @ void CustomProjectPart::populateProject(
kdDebug(9025) << "Examining: " << dir.path() << endl;
const QFileInfoList *dirEntries = dir.entryInfoList();
+ if ( dirEntries )
+ {
QPtrListIterator<QFileInfo> it(*dirEntries);
for (; it.current(); ++it) {
@ -288,4 +290,5 @ void CustomProjectPart::populateProject(
}
}
+ }
} while (!s.isEmpty());
More information about the KDevelop-devel
mailing list