diff options
Diffstat (limited to 'src/gui/models/shopitems.h')
-rw-r--r-- | src/gui/models/shopitems.h | 5 |
1 files changed, 4 insertions, 1 deletions
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<ShopItem*> mShopItems; + std::string mCurrency; + /** Look for duplicate entries on addition. */ bool mMergeDuplicates; }; |