Review Request 128874: Free QFileDialog memory

Łukasz Wojniłowicz lukasz.wojnilowicz at
Fri Sep 9 16:10:47 UTC 2016

This is an automatically generated e-mail. To reply, visit:

Review request for KMymoney.

Repository: kmymoney


After closing CSV Importer in the middle and then KMyMoney, I get "The program has unexpectedly finished".
The problem doesn't occur if CSV Importer goes all way through to the last page; then I can go back and close it wherever I want.
If I comment out this line, there is no problem at all.
  QPointer<QFileDialog> dialog = new QFileDialog(this, QString(),
                                                 i18n("*.csv *.PRN *.txt | CSV Files\n *|All files"));
Memory on which dialog pointed wasn't deleted in the method and it obviously need to be deleted, but the problem remains. Does anyone know how to prevent QtCreator from showing "The program has unexpectedly finished" here?


  kmymoney/plugins/csvimport/csvwizard.h ecec5b0 
  kmymoney/plugins/csvimport/csvwizard.cpp b576dea 




Łukasz Wojniłowicz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the KMyMoney-devel mailing list