summaryrefslogtreecommitdiff
path: root/src/gui/windows
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/windows
parent5427c348b135df91731e60b76015bc4051933e55 (diff)
downloadmv-49540a3cac67413e8639ba371782e3635ece74df.tar.gz
mv-49540a3cac67413e8639ba371782e3635ece74df.tar.bz2
mv-49540a3cac67413e8639ba371782e3635ece74df.tar.xz
mv-49540a3cac67413e8639ba371782e3635ece74df.zip
Fix code style.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/inventorywindow.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp
index d1ac4ba7b..7bd21e258 100644
--- a/src/gui/windows/inventorywindow.cpp
+++ b/src/gui/windows/inventorywindow.cpp
@@ -120,6 +120,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
case InventoryType::INVENTORY:
case InventoryType::TRADE:
case InventoryType::NPC:
+ case InventoryType::VENDING:
case InventoryType::TYPE_END:
default:
mSortDropDown->setSelected(config.getIntValue(
@@ -300,6 +301,7 @@ InventoryWindow::InventoryWindow(Inventory *const inventory) :
default:
case InventoryType::TRADE:
case InventoryType::NPC:
+ case InventoryType::VENDING:
case InventoryType::TYPE_END:
break;
};
@@ -356,6 +358,7 @@ void InventoryWindow::storeSortOrder() const
case InventoryType::INVENTORY:
case InventoryType::TRADE:
case InventoryType::NPC:
+ case InventoryType::VENDING:
case InventoryType::TYPE_END:
default:
config.setValue("inventorySortOrder",
@@ -790,6 +793,7 @@ void InventoryWindow::close()
default:
case InventoryType::TRADE:
case InventoryType::NPC:
+ case InventoryType::VENDING:
case InventoryType::TYPE_END:
break;
}