[Kmymoney-devel] [Bug 207354] Crash creating a new account

Thomas Baumgart thb at net-bembel.de
Fri Sep 25 07:54:57 CEST 2009


On Friday 25 September 2009 00:18:14 Alvaro Soliverez wrote:
> On Thu, Sep 24, 2009 at 10:15 AM, Thomas Baumgart <thb at net-bembel.de> wrote:
> > On Thursday 24 September 2009 14:49:30 Alvaro Soliverez wrote:
> > > Cristian,
> > > can you take a look at this bug?
> > > I still have limited debugging capabilities on my sandbox. I have to
> > > sit down and reinstall the whole development environment.
> > >
> > > There should be somewhere in the newuserwizard where firstTimeRun is
> > > set
> >
> > to
> >
> > > true before time.
> >
> > That's probably in main.cpp line 273. In case you comment it, the new
> > wizard
> > will be run again the next time. The flag will be reset in KMyMoney2App
> > once
> > the new user wizard has completed.
> >
> > How about adding a check whether there is a file open or not before
> > setting
>
> that flag?
>
> Kind of:
>
>  if(!d->m_myMoneyView->fileOpen()) {
>
> KMyMoneyGlobalSettings::setFirstTimeRun(false);
>
> }

Sounds reasonable to me.


-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
To mess up a Linux box, you need to work at it;
to mess up your Windows box, you just need to work on it.
Scott Granneman, Security Focus
-------------------------------------------------------------
-------------- 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/20090925/74a4d889/attachment-0001.sig 


More information about the KMyMoney-devel mailing list