From 27d3f4f1af359634dc3eddcfd155efc65f54e6c0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 22 Aug 2017 02:40:46 +0300 Subject: Remove default parameters from SocialTab::buildCounter. --- src/gui/widgets/tabs/socialtab.h | 4 ++-- src/gui/windows/socialwindow.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui') 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); } } } -- cgit v1.2.3-70-g09d2