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/widgets/inventoryfilter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/inventoryfilter.cpp') diff --git a/src/gui/widgets/inventoryfilter.cpp b/src/gui/widgets/inventoryfilter.cpp index 7de7457ea..8c62849a1 100644 --- a/src/gui/widgets/inventoryfilter.cpp +++ b/src/gui/widgets/inventoryfilter.cpp @@ -31,12 +31,12 @@ InventoryFilter::InventoryFilter(std::string group, int height, int spacing): { } -void InventoryFilter::add(std::string tag) +void InventoryFilter::addButton(std::string tag) { - add(tag, tag); + addButton(tag, tag); } -void InventoryFilter::add(std::string text, std::string tag) +void InventoryFilter::addButton(std::string text, std::string tag) { if (text.empty() || tag.empty()) return; -- cgit v1.2.3-60-g2f50