Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/kmymoneysplittable.cpp
Context not available. | |||||
609 | if (!(*it).accountId().isEmpty()) { | 609 | if (!(*it).accountId().isEmpty()) { | ||
---|---|---|---|---|---|
610 | try { | 610 | try { | ||
611 | colText = MyMoneyFile::instance()->accountToCategory((*it).accountId()); | 611 | colText = MyMoneyFile::instance()->accountToCategory((*it).accountId()); | ||
612 | } catch (const MyMoneyException &) { | 612 | } catch (const std::exception &) { | ||
613 | qDebug("Unexpected exception in KMyMoneySplitTable::slotUpdateData()"); | 613 | qDebug("Unexpected exception in KMyMoneySplitTable::slotUpdateData()"); | ||
614 | } | 614 | } | ||
615 | } | 615 | } | ||
Context not available. | |||||
704 | try { | 704 | try { | ||
705 | d->m_transaction.addSplit(split); | 705 | d->m_transaction.addSplit(split); | ||
706 | emit transactionChanged(d->m_transaction); | 706 | emit transactionChanged(d->m_transaction); | ||
707 | } catch (const MyMoneyException &e) { | 707 | } catch (const std::exception &e) { | ||
708 | qDebug("Cannot duplicate split: %s", qPrintable(e.what())); | 708 | qDebug("Cannot duplicate split: %s", qPrintable(e.what())); | ||
709 | } | 709 | } | ||
710 | } | 710 | } | ||
Context not available. | |||||
729 | else | 729 | else | ||
730 | selectRow(d->m_currentRow); | 730 | selectRow(d->m_currentRow); | ||
731 | emit transactionChanged(d->m_transaction); | 731 | emit transactionChanged(d->m_transaction); | ||
732 | } catch (const MyMoneyException &e) { | 732 | } catch (const std::exception &e) { | ||
733 | qDebug("Cannot remove split: %s", qPrintable(e.what())); | 733 | qDebug("Cannot remove split: %s", qPrintable(e.what())); | ||
734 | } | 734 | } | ||
735 | } | 735 | } | ||
Context not available. | |||||
847 | d->m_transaction.modifySplit(d->m_split); | 847 | d->m_transaction.modifySplit(d->m_split); | ||
848 | } | 848 | } | ||
849 | emit transactionChanged(d->m_transaction); | 849 | emit transactionChanged(d->m_transaction); | ||
850 | } catch (const MyMoneyException &e) { | 850 | } catch (const std::exception &e) { | ||
851 | qDebug("Cannot add/modify split: %s", qPrintable(e.what())); | 851 | qDebug("Cannot add/modify split: %s", qPrintable(e.what())); | ||
852 | } | 852 | } | ||
853 | } | 853 | } | ||
Context not available. |