Added recalculating receipt on item count changed. Some UI changes.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user