[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: BUG: kdevelop 2.1 - wrong path for new file
From: August =?iso-8859-1?Q?H=F6randl?= <august.hoerandl () gmx ! at>
Date: 2002-04-20 18:33:01
[Download RAW message or body]
how to reproduce:
open a project with a subdirectory
in the classview: select subdir, right click and select "new file"
the dialog displays only the subdir as the path and the creation of
the files fails
fix (KDE_2_2_BRANCH):
Index: cclassview.cpp
===================================================================
RCS file: /home/kde/kdevelop/kdevelop/cclassview.cpp,v
retrieving revision 1.57.2.25.2.18.2.11
diff -u -3 -p -c -r1.57.2.25.2.18.2.11 cclassview.cpp
*** cclassview.cpp 2002/04/03 15:27:19 1.57.2.25.2.18.2.11
--- cclassview.cpp 2002/04/20 18:17:45
*************** void CClassView::slotFileNew()
*** 1207,1213 ****
dir = cur->text(0) + ("/" + dir);
cur = cur->parent();
}
! emit selectedFileNew(dir);
}
}
}
--- 1207,1213 ----
dir = cur->text(0) + ("/" + dir);
cur = cur->parent();
}
! emit selectedFileNew(project->getProjectDir() +
project->getSubDir() + dir);
}
}
}
questions:
- is it okay to apply this bugfix for KDE_2_2_BRANCH ?
- any other cvs branches to consider ?
Gustl
--
(~._.~) August Hörandl
_( Y )_
()_~*~_() august.hoerandl@gmx.at
(_)-(_)
_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic