Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/dialogs/transactioneditor.cpp
Context not available. | |||||
426 | splitB.setValue(splitB.shares()); | 426 | splitB.setValue(splitB.shares()); | ||
---|---|---|---|---|---|
427 | (*it_t).transaction().modifySplit(splitB); | 427 | (*it_t).transaction().modifySplit(splitB); | ||
428 | 428 | | |||
429 | } catch (const MyMoneyException &e) { | 429 | } catch (const std::exception &e) { | ||
430 | qDebug("Unable to update commodity to second splits currency in %s: '%s'", qPrintable((*it_t).transaction().id()), qPrintable(e.what())); | 430 | qDebug("Unable to update commodity to second splits currency in %s: '%s'", qPrintable((*it_t).transaction().id()), qPrintable(e.what())); | ||
431 | } | 431 | } | ||
432 | break; | 432 | break; | ||
Context not available. | |||||
462 | (*it_t).transaction().modifySplit(splitA); | 462 | (*it_t).transaction().modifySplit(splitA); | ||
463 | (*it_t).transaction().modifySplit(splitB); | 463 | (*it_t).transaction().modifySplit(splitB); | ||
464 | 464 | | |||
465 | } catch (const MyMoneyException &e) { | 465 | } catch (const std::exception &e) { | ||
466 | qDebug("Unable to update commodity to second splits currency in %s: '%s'", qPrintable((*it_t).transaction().id()), qPrintable(e.what())); | 466 | qDebug("Unable to update commodity to second splits currency in %s: '%s'", qPrintable((*it_t).transaction().id()), qPrintable(e.what())); | ||
467 | } | 467 | } | ||
468 | break; | 468 | break; | ||
Context not available. | |||||
506 | (*it_t).transaction().modifySplit(s); | 506 | (*it_t).transaction().modifySplit(s); | ||
507 | } | 507 | } | ||
508 | } | 508 | } | ||
509 | } catch (const MyMoneyException &e) { | 509 | } catch (const std::exception &e) { | ||
510 | qDebug("Unable to update commodity of split currency in %s: '%s'", qPrintable((*it_t).transaction().id()), qPrintable(e.what())); | 510 | qDebug("Unable to update commodity of split currency in %s: '%s'", qPrintable((*it_t).transaction().id()), qPrintable(e.what())); | ||
511 | } | 511 | } | ||
512 | break; | 512 | break; | ||
Context not available. | |||||
811 | } | 811 | } | ||
812 | } | 812 | } | ||
813 | } | 813 | } | ||
814 | } catch (const MyMoneyException &e) { | 814 | } catch (const std::exception &e) { | ||
815 | qDebug("Unable to store transaction within engine: %s", qPrintable(e.what())); | 815 | qDebug("Unable to store transaction within engine: %s", qPrintable(e.what())); | ||
816 | newTransactionCreated = false; | 816 | newTransactionCreated = false; | ||
817 | } | 817 | } | ||
Context not available. |