[Kmymoney-devel] [Bug 308247] KMymoney crashes on importing QIF
Thomas Baumgart
ipwizard at users.sourceforge.net
Fri Oct 12 12:31:36 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=308247
--- Comment #7 from Thomas Baumgart <ipwizard at users.sourceforge.net> ---
@Allen
I would do the following (line numbers refer to current git master):
a) move the definition of QList<qSplit> listqSplits; right before the if
statement on line 1135.
b) change the signature of extractSplits() to return a boolean
c) replace the if statement on line 1135 with the following
if( ! extractSplits(listqSplits)) {
d) change the logic in extractSplits in such a way that it returns true only if
KMyMoney finds all the information needed to process them. If one is missing,
return false, which will in case process the L entry found. In case no L is
present, the importer will create an unbalanced transaction.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list