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

Cristian Oneţ onet.cristian at gmail.com
Wed Oct 14 11:06:05 CEST 2009


On Tue, Oct 13, 2009 at 3:33 AM, Alvaro Soliverez <asoliverez at gmail.com> wrote:
> SVN commit 1034548 by asoliverez:
>
> Fixed crash on destruction of KHTML_Part under KDE 4.3.2
>
>  M  +1 -2      khomeview.cpp
>  M  +2 -0      kreportsview.cpp
>
>
> --- trunk/playground/office/kmymoney/kmymoney2/views/khomeview.cpp #1034547:1034548
> @@ -116,8 +116,7 @@
>     KMyMoneyGlobalSettings::self()->writeConfig();
>   }
>   //This is to prevent a crash on exit with KDE 4.3.2
> -  if(m_part)
> -      delete m_part;
> +  delete m_part;
>  }
>
>  void KHomeView::slotLoadView(void)
> --- trunk/playground/office/kmymoney/kmymoney2/views/kreportsview.cpp #1034547:1034548
> @@ -125,6 +125,8 @@
>  KReportsView::KReportTab::~KReportTab()
>  {
>   delete m_table;
> +  //This is to prevent a crash on exit with KDE 4.3.2
> +  delete m_part;
>  }
>
>  void KReportsView::KReportTab::print(void)
>

It seems this has been fixed and will be available only in 4.3.3 or
sooner in a patched version of 4.3.2 depending on your distro :).
http://websvn.kde.org/?revision=1033984&view=revision


More information about the KMyMoney-devel mailing list