diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-06 16:58:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-06 16:58:18 +0300 |
commit | d557ce63e240960746e48c678b4a08ba66f7fe40 (patch) | |
tree | 8dfa33e155d7ea2145df9056895f0c1293155349 /src/gui/models/shopitems.h | |
parent | 8e243bbcdae592e1c003e5d2c37c8f0e8f1304e7 (diff) | |
download | plus-d557ce63e240960746e48c678b4a08ba66f7fe40.tar.gz plus-d557ce63e240960746e48c678b4a08ba66f7fe40.tar.bz2 plus-d557ce63e240960746e48c678b4a08ba66f7fe40.tar.xz plus-d557ce63e240960746e48c678b4a08ba66f7fe40.zip |
Add custom currency also into shop items list.
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; }; |