Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/sql/mymoneystoragesql_p.h
Context not available. | |||||
1278 | sharesList << s.shares().toString(); | 1278 | sharesList << s.shares().toString(); | ||
---|---|---|---|---|---|
1279 | MyMoneyAccount acc = m_storage->account(s.accountId()); | 1279 | MyMoneyAccount acc = m_storage->account(s.accountId()); | ||
1280 | MyMoneySecurity sec = m_storage->security(acc.currencyId()); | 1280 | MyMoneySecurity sec = m_storage->security(acc.currencyId()); | ||
1281 | sharesFormattedList << s.price(). | 1281 | sharesFormattedList << s.shares(). | ||
1282 | formatMoney("", MyMoneyMoney::denomToPrec(sec.smallestAccountFraction()), false). | 1282 | formatMoney("", MyMoneyMoney::denomToPrec(sec.smallestAccountFraction()), false). | ||
1283 | replace(QChar(','), QChar('.')); | 1283 | replace(QChar(','), QChar('.')); | ||
1284 | MyMoneyMoney price = s.actualPrice(); | 1284 | MyMoneyMoney price = s.actualPrice(); | ||
1285 | if (!price.isZero()) { | 1285 | if (!price.isZero()) { | ||
Context not available. |