From kdevelop-bugs Sun Dec 31 14:52:59 2006 From: Jens Dagerbo Date: Sun, 31 Dec 2006 14:52:59 +0000 To: kdevelop-bugs Subject: [Bug 121332] new class generated in wrong directory Message-Id: <20061231145259.632.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306962211649 ------- 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=121332 jens.dagerbo swipnet se changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED ------- Additional Comments From jens.dagerbo swipnet se 2006-12-31 15:52 ------- SVN commit 618202 by dagerbo: Ooops. We want the full path here, not just the name. BUG: 121332 M +1 -1 customprojectpart.cpp --- branches/kdevelop/3.4/buildtools/custommakefiles/customprojectpart.cpp #618201:618202 @ -190,7 +190,7 @ KURL url = fcontext->urls().first(); if (URLUtil::isDirectory(url)) { // remember the name of the directory - m_contextDirName = url.fileName(); + m_contextDirName = url.path(); m_contextDirName = m_contextDirName.mid ( project()->projectDirectory().length() + 1 ); popup->insertSeparator(); int id = popup->insertItem( i18n("Make Active Directory"),