[Bug 56726] Crash creating new class or file
Caleb Tennis
caleb at aei-tech.com
Wed Apr 2 18:09:02 UTC 2003
------- 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=56726
------- Additional Comments From caleb at aei-tech.com 2003-04-02 18:08 -------
Does the following patch help? (on /lib/util/filetemplate.cpp)
Index: filetemplate.cpp
===================================================================
RCS file: /home/kde/kdevelop/lib/util/filetemplate.cpp,v
retrieving revision 1.10
diff -u -3 -p -r1.10 filetemplate.cpp
--- filetemplate.cpp 25 Feb 2003 10:46:31 -0000 1.10
+++ filetemplate.cpp 2 Apr 2003 16:05:59 -0000
@@ -96,7 +96,7 @@ QString FileTemplate::fullPathForName(KD
if (p!=Default) return name;
// first try project-specific
- QString fileName = (part->project()->projectDirectory() + "/templates/" + name);
+ QString fileName(part->project()->projectDirectory() + QString("/templates/") + name);
if (QFile::exists(fileName)) return fileName;
// next try global
More information about the KDevelop-devel
mailing list