[Kmymoney-devel] .xml save not working

Thomas Baumgart thb at net-bembel.de
Thu Oct 15 08:24:34 CEST 2009


On Thursday 15 October 2009 04:46:53 Alvaro Soliverez wrote:
> > > I commited to SVN a fix for saving XML files. It's not what I would
> > > have liked to do but because of the state of the saveFile and
> > > saveToLocalFile functions this was the best compromise from my point of
> > > view. When I say 'the state' of these functions I mean that the code is
> > > not quite
> >
> > straight
> >
> > >  forward to read.
> >
> > I added another fix which also make it possible to save a remote file. I
> > moved
> > all calls to open() into the saveToLocalFile(). I labeled the commit "Fix
> > a combo in the icalendar plugin settings page." by mistake, sorry for
> > that. I'll
> > try to be more careful in the future.
>
> I've been thinking about this. Shouldn't all these methods be moved to the
> engine?
> That way, we could unit test them.

Don't know. They are depending on the UI. And I still try to keep the engine 
free of UI code.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Got Mole problems? Call Avogadro at 6.02 x 10^23.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091015/eac0a537/attachment.sig 


More information about the KMyMoney-devel mailing list