[Bug 75943] Crash during directory scan (loading project on startup or import existing project)
Jens Dagerbo
jens.dagerbo at swipnet.se
Mon Mar 29 19:58:07 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=75943
------- Additional Comments From jens.dagerbo swipnet se 2004-03-29 20:01 -------
CVS commit by dagerbo:
Don't crash when we don't have permission to read a directory.
CCMAIL: 75943 bugs kde org
M +20 -17 scriptprojectpart.cpp 1.39.2.1
--- kdevelop/buildtools/script/scriptprojectpart.cpp #1.39:1.39.2.1
@ -138,4 +138,6 @ void ScriptProjectPart::openProject(cons
kdDebug(9015) << "Examining: " << dir.path() << endl;
const QFileInfoList *dirEntries = dir.entryInfoList();
+ if ( dirEntries )
+ {
QPtrListIterator<QFileInfo> it(*dirEntries);
for (; it.current(); ++it) {
@ -158,4 +160,5 @ void ScriptProjectPart::openProject(cons
}
}
+ }
} while (!s.isEmpty());
More information about the KDevelop-devel
mailing list