diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-22 02:40:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-22 02:40:46 +0300 |
commit | 27d3f4f1af359634dc3eddcfd155efc65f54e6c0 (patch) | |
tree | 60e6814190e857245c9df05cb6faeb66792a6353 | |
parent | 72be37009a0bbd6594e10ac19bd90830c42f178b (diff) | |
download | plus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.tar.gz plus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.tar.bz2 plus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.tar.xz plus-27d3f4f1af359634dc3eddcfd155efc65f54e6c0.zip |
Remove default parameters from SocialTab::buildCounter.
-rw-r--r-- | src/gui/widgets/tabs/socialtab.h | 4 | ||||
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 2 |
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); } } } |