[Kmymoney-devel] playground/office/kmymoney/kmymoney2/views

Alvaro Soliverez asoliverez at gmail.com
Sun Oct 25 14:39:35 CET 2009


On Sun, Oct 25, 2009 at 5:30 AM, Cristian Oneţ <onet.cristian at gmail.com>wrote:

> În data de Duminică 25 Octombrie 2009 10:27:10 Cristian Oneț a scris:
> > SVN commit 1039980 by conet:
> >
> > Fixed a crash in the Forecast chart. Also made the chart use the widgets
> >  space better.
> >
> >  M  +3 -2      kforecastview.cpp
> >
> >
> > --- trunk/playground/office/kmymoney/kmymoney2/views/kforecastview.cpp
> >  #1039979:1039980 @@ -658,7 +658,8 @@
> >    reportCfg.setIncludingSchedules( false );
> >    reportCfg.addAccountGroup(MyMoneyAccount::Asset);
> >    reportCfg.addAccountGroup(MyMoneyAccount::Liability);
> > -  reportCfg.setColumnsAreDays( true );
> > +  // FIXME: this causes a crash
> > +  //reportCfg.setColumnsAreDays( true );
> >    reportCfg.setConvertCurrency( true );
> >    reportCfg.setIncludingForecast( true );
> >
> >
>  reportCfg.setDateFilter(QDate::currentDate(),QDate::currentDate().addDays(
> > m_forecastDays->value())); @@ -667,7 +668,7 @@
> >    table.drawChart(*m_forecastChart);
> >
> >    // Adjust the size
> > -  m_forecastChart->resize(m_tab->width()-30, m_tab->height()-60);
> > +  m_forecastChart->resize(m_tab->width() - 10, m_tab->height());
> >    m_forecastChart->update();
> >  }
> >
> Alvaro, I thought you might want to take a look at this when you have time
> :).
>


Sure. Any idea why this might be failing?
There are other reports using this setting and they work just fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091025/b132f028/attachment.htm 


More information about the KMyMoney-devel mailing list