[Uml-devel] kdesdk/umbrello/umbrello

Jonathan Riddell jr at jriddell.org
Wed Jul 9 05:11:03 UTC 2003


On Sat, Jul 05, 2003 at 08:19:07PM +0200, Helge Deller wrote:
> On Saturday 05 July 2003 19:50, Jonathan Riddell wrote:
> > On Fri, Jul 04, 2003 at 07:58:54PM +0200, Helge Deller wrote:
> > > CVS commit by deller:
> > >
> > > roaming user fixes
> > >
> > >
> > >   M +1 -1      main.cpp   1.9
> > >   M +17 -5     uml.cpp   1.44
> >
> > This seems to have caused a problem.
> >
> >    config -> writePathEntry( "lastFile", doc->URL().prettyURL() );
> >
> > saves an entry to something like
> >
> > lastFile=$HOME/file:/W99/99/r/jr050/uml-file.xmi
> >
> > which then expands to
> > file:/W99/99/r/jr050/file:/W99/99/r/jr050/uml-file.xmi
> >
> > A similar thing happens when using, for example, an HTTP URL.
> >
> > lastFile=$HOME/http://uml.sourceforge.net/developers/umbrello-example-file.
> >xmi
> 
> This should only happen when you compile against KDE 3.1.3 (in 3.1 BRANCH in CVS) and
> run it against "old" KDE 3.1.2 libraries which have a bug in writePathEntry().
> The full code in uml.cpp reads:
> #if KDE_IS_VERSION(3,1,3)
> 		config -> writePathEntry( "lastFile", doc -> URL().prettyURL() );
> #else
> 		config -> writeEntry( "lastFile", doc -> URL().prettyURL() );
> #endif
> 
> this means, that writePathEntry() will only be used, if you compile
> for KDE 3.1.3 or above. Thus, you shouldn't get those problems.
> 
> Do you maybe have some old kde libraries around in your system ?

Yes I did.  I've updated the libraries and it works fine now.  Thanks
very much for the help.

Jonathan Riddell




More information about the umbrello-devel mailing list