From 67e741bba4eef3659891d503aa5fe1221f55f4fb Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 25 Dec 2008 09:46:24 -0500 Subject: Item's setSellPrice shouldn't error if sellable isn't set; it'll just get ignored later anyways --- sigmod/Item.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sigmod/Item.cpp') 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 -- cgit