From 4c3cfc12b580268b549d68213f54e9e8c64dd4d1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 May 2011 01:36:41 +0300 Subject: Fix complilation warnings. --- src/gui/inventorywindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/inventorywindow.cpp') 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 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()) { -- cgit v1.2.3-70-g09d2