summaryrefslogtreecommitdiffstats
path: root/sigmod/Item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmod/Item.cpp')
-rw-r--r--sigmod/Item.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/sigmod/Item.cpp b/sigmod/Item.cpp
index 5d43ad42..e6f521dd 100644
--- a/sigmod/Item.cpp
+++ b/sigmod/Item.cpp
@@ -131,11 +131,6 @@ void Sigmod::Item::setPrice(const int price)
void Sigmod::Item::setSellPrice(const int sellPrice)
{
- if (!m_sellable)
- {
- emit(error("Item is not sellable"));
- return;
- }
if ((sellPrice < 0) || (m_price < sellPrice))
emit(error(bounds("sellPrice", 0, m_price, sellPrice)));
else