From d557ce63e240960746e48c678b4a08ba66f7fe40 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Feb 2017 16:58:18 +0300 Subject: Add custom currency also into shop items list. --- src/gui/models/shopitems.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/models/shopitems.h') diff --git a/src/gui/models/shopitems.h b/src/gui/models/shopitems.h index 42594a7c6..3b6d611cb 100644 --- a/src/gui/models/shopitems.h +++ b/src/gui/models/shopitems.h @@ -53,7 +53,8 @@ class ShopItems final : public ListModel * @param mergeDuplicates lets the Shop look for duplicate entries and * merges them to one item. */ - explicit ShopItems(const bool mergeDuplicates = false); + ShopItems(const bool mergeDuplicates, + const std::string ¤cy); A_DELETE_COPY(ShopItems) @@ -159,6 +160,8 @@ class ShopItems final : public ListModel std::vector mShopItems; + std::string mCurrency; + /** Look for duplicate entries on addition. */ bool mMergeDuplicates; }; -- cgit v1.2.3-60-g2f50