<br><br><div class="gmail_quote">On Sun, Oct 25, 2009 at 5:30 AM, Cristian Oneţ <span dir="ltr">&lt;<a href="mailto:onet.cristian@gmail.com">onet.cristian@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
În data de Duminică 25 Octombrie 2009 10:27:10 Cristian Oneț a scris:<br>
<div><div></div><div class="h5">&gt; SVN commit 1039980 by conet:<br>
&gt;<br>
&gt; Fixed a crash in the Forecast chart. Also made the chart use the widgets<br>
&gt;  space better.<br>
&gt;<br>
&gt;  M  +3 -2      kforecastview.cpp<br>
&gt;<br>
&gt;<br>
&gt; --- trunk/playground/office/kmymoney/kmymoney2/views/kforecastview.cpp<br>
&gt;  #1039979:1039980 @@ -658,7 +658,8 @@<br>
&gt;    reportCfg.setIncludingSchedules( false );<br>
&gt;    reportCfg.addAccountGroup(MyMoneyAccount::Asset);<br>
&gt;    reportCfg.addAccountGroup(MyMoneyAccount::Liability);<br>
&gt; -  reportCfg.setColumnsAreDays( true );<br>
&gt; +  // FIXME: this causes a crash<br>
&gt; +  //reportCfg.setColumnsAreDays( true );<br>
&gt;    reportCfg.setConvertCurrency( true );<br>
&gt;    reportCfg.setIncludingForecast( true );<br>
&gt;<br>
&gt;  reportCfg.setDateFilter(QDate::currentDate(),QDate::currentDate().addDays(<br>
&gt; m_forecastDays-&gt;value())); @@ -667,7 +668,7 @@<br>
&gt;    table.drawChart(*m_forecastChart);<br>
&gt;<br>
&gt;    // Adjust the size<br>
&gt; -  m_forecastChart-&gt;resize(m_tab-&gt;width()-30, m_tab-&gt;height()-60);<br>
&gt; +  m_forecastChart-&gt;resize(m_tab-&gt;width() - 10, m_tab-&gt;height());<br>
&gt;    m_forecastChart-&gt;update();<br>
&gt;  }<br>
&gt;<br>
</div></div>Alvaro, I thought you might want to take a look at this when you have time :).<br></blockquote><div><br></div><div><br></div><div>Sure. Any idea why this might be failing?</div><div>There are other reports using this setting and they work just fine. </div>
<div><br></div></div>