summaryrefslogtreecommitdiff
path: root/src/gui/widgets
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/widgets
parentfb198a2e9c3e06f9cff759b25fd57fa3f3051ccf (diff)
downloadplus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.gz
plus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.bz2
plus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.tar.xz
plus-4c3cfc12b580268b549d68213f54e9e8c64dd4d1.zip
Fix complilation warnings.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/inventoryfilter.cpp6
-rw-r--r--src/gui/widgets/inventoryfilter.h4
2 files changed, 5 insertions, 5 deletions
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;
diff --git a/src/gui/widgets/inventoryfilter.h b/src/gui/widgets/inventoryfilter.h
index aa71bb419..ed49ba39b 100644
--- a/src/gui/widgets/inventoryfilter.h
+++ b/src/gui/widgets/inventoryfilter.h
@@ -38,9 +38,9 @@ class InventoryFilter : public HorizontContainer, public gcn::ActionListener
public:
InventoryFilter(std::string group, int height, int spacing);
- void add(std::string tag);
+ void addButton(std::string tag);
- void add(std::string text, std::string tag);
+ void addButton(std::string text, std::string tag);
void action(const gcn::ActionEvent &event);