Added recalculating receipt on item count changed. Some UI changes.

This commit is contained in:
2016-05-26 15:11:55 +02:00
parent 726da24de9
commit 9fbf216bba
12 changed files with 245 additions and 77 deletions
+5
View File
@@ -74,6 +74,11 @@ void Voucher::addItem(QSharedPointer<VoucherItem> item)
m_items.append(item);
}
void Voucher::removeItem(QSharedPointer<VoucherItem> item)
{
m_items.removeOne(item);
}
void Voucher::clearItems()
{
m_items.clear();