summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-09 11:44:37 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-09 11:44:37 +0300
commit49540a3cac67413e8639ba371782e3635ece74df (patch)
tree1787719bfa551c151be5e72de873a638ad46ab71 /src/gui/widgets
parent5427c348b135df91731e60b76015bc4051933e55 (diff)
downloadplus-49540a3cac67413e8639ba371782e3635ece74df.tar.gz
plus-49540a3cac67413e8639ba371782e3635ece74df.tar.bz2
plus-49540a3cac67413e8639ba371782e3635ece74df.tar.xz
plus-49540a3cac67413e8639ba371782e3635ece74df.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/itemcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp
index 64c1ad50a..c557b960d 100644
--- a/src/gui/widgets/itemcontainer.cpp
+++ b/src/gui/widgets/itemcontainer.cpp
@@ -427,6 +427,7 @@ void ItemContainer::mousePressed(MouseEvent &event)
src = DRAGDROP_SOURCE_CART;
break;
default:
+ case InventoryType::VENDING:
case InventoryType::TYPE_END:
break;
}
@@ -526,6 +527,7 @@ void ItemContainer::mouseReleased(MouseEvent &event)
dst = DRAGDROP_SOURCE_CART;
break;
default:
+ case InventoryType::VENDING:
case InventoryType::TYPE_END:
break;
}