summaryrefslogtreecommitdiff
path: root/src/gui/inventorywindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-05 01:36:41 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-05 01:51:06 +0300
commit4c3cfc12b580268b549d68213f54e9e8c64dd4d1 (patch)
tree1edcf58c17df2e82aa9c3fa1757640a96fd4b926 /src/gui/inventorywindow.cpp
parentfb198a2e9c3e06f9cff759b25fd57fa3f3051ccf (diff)
downloadmv-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.gz
mv-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.bz2
mv-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.xz
mv-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.zip
Fix complilation warnings.
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r--src/gui/inventorywindow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp
index a41334d06..a12f4cf61 100644
--- a/src/gui/inventorywindow.cpp
+++ b/src/gui/inventorywindow.cpp
@@ -114,11 +114,11 @@ InventoryWindow::InventoryWindow(Inventory *inventory):
std::vector<std::string> tags = ItemDB::getTags();
for (unsigned f = 0; f < tags.size(); f ++)
- mFilter->add(tags[f]);
+ mFilter->addButton(tags[f]);
- mSorter->add(_("na"), "na");
- mSorter->add(_("az"), "az");
- mSorter->add(_("id"), "id");
+ mSorter->addButton(_("na"), "na");
+ mSorter->addButton(_("az"), "az");
+ mSorter->addButton(_("id"), "id");
if (isMainInventory())
{