https://bugs.kde.org/show_bug.cgi?id=314491

--- Comment #12 from allan <agande...@gmail.com> ---
This is not an area I've entered before but I notice that at line 1679 in
mymoneygncreader.cpp 

price = split.value() / split.shares();
#define NEW_DENOM 10000
        if (!split.shares().isZero())  // patch to fix divide by zero?
          newPrice = MyMoneyMoney(price.toDouble(), (signed64)NEW_DENOM);
        if (!newPrice.isZero()) {
          TRY {

It appears to be checking if split.shares()  isZero() after the division/
failure has occurred.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to