summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-22 02:40:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-22 02:40:46 +0300
commit27d3f4f1af359634dc3eddcfd155efc65f54e6c0 (patch)
tree60e6814190e857245c9df05cb6faeb66792a6353 /src/gui
parent72be37009a0bbd6594e10ac19bd90830c42f178b (diff)
downloadmanaplus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.tar.gz
manaplus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.tar.bz2
manaplus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.tar.xz
manaplus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.zip
Remove default parameters from SocialTab::buildCounter.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/tabs/socialtab.h4
-rw-r--r--src/gui/windows/socialwindow.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/socialtab.h b/src/gui/widgets/tabs/socialtab.h
index 34f864561..1c94aaede 100644
--- a/src/gui/widgets/tabs/socialtab.h
+++ b/src/gui/widgets/tabs/socialtab.h
@@ -66,8 +66,8 @@ class SocialTab notfinal : public Tab
{
}
- virtual void buildCounter(const int online A_UNUSED = 0,
- const int total A_UNUSED = 0)
+ virtual void buildCounter(const int online A_UNUSED,
+ const int total A_UNUSED)
{
}
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp
index aa240498d..174762100 100644
--- a/src/gui/windows/socialwindow.cpp
+++ b/src/gui/windows/socialwindow.cpp
@@ -593,7 +593,7 @@ void SocialWindow::updateParty()
if (it != mParties.end())
{
SocialTab *const tab = (*it).second;
- tab->buildCounter();
+ tab->buildCounter(0, 0);
}
}
}