BUG: kdevelop 2.1 - wrong path for new file
Roland Krause
rokrau at yahoo.com
Fri Apr 26 18:33:08 UTC 2002
Gustl,
have you applied your patch yet.
It's ok with me to apply since it is a bugfix.
Roland
--- August Hörandl <august.hoerandl at gmx.at> wrote:
>
> 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 at gmx.at
> (_)-(_)
>
> _______________________________________________
> Kdevelop-devel mailing list
> Kdevelop-devel at barney.cs.uni-potsdam.de
> http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
More information about the KDevelop-devel
mailing list