diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-24 00:35:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-24 00:35:44 +0300 |
commit | 43aa8e6bedff642ba584c447c03886c1f0c52aac (patch) | |
tree | 24818c9b3f5196e6c69b97b87d9a547bbbe5aa81 /src/gui/windows/whoisonline.cpp | |
parent | 98295d32030c620040e3e6bd912c6808174640e4 (diff) | |
download | plus-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.gz plus-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.bz2 plus-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.xz plus-43aa8e6bedff642ba584c447c03886c1f0c52aac.zip |
Remove default parameter from staticbrowserbox.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index 41738180a..8e35fb141 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -247,34 +247,34 @@ void WhoIsOnline::updateWindow(size_t numOnline) bool addedFromSection(false); FOR_EACH (STD_VECTOR<OnlinePlayer*>::const_iterator, it, mFriends) { - mBrowserBox->addRow((*it)->getText()); + mBrowserBox->addRow((*it)->getText(), false); addedFromSection = true; } if (addedFromSection == true) { - mBrowserBox->addRow("---"); + mBrowserBox->addRow("---", false); addedFromSection = false; } FOR_EACH (STD_VECTOR<OnlinePlayer*>::const_iterator, it, mEnemy) { - mBrowserBox->addRow((*it)->getText()); + mBrowserBox->addRow((*it)->getText(), false); addedFromSection = true; } if (addedFromSection == true) { - mBrowserBox->addRow("---"); + mBrowserBox->addRow("---", false); addedFromSection = false; } FOR_EACH (STD_VECTOR<OnlinePlayer*>::const_iterator, it, mNeutral) { - mBrowserBox->addRow((*it)->getText()); + mBrowserBox->addRow((*it)->getText(), false); addedFromSection = true; } if (addedFromSection == true && !mDisregard.empty()) - mBrowserBox->addRow("---"); + mBrowserBox->addRow("---", false); FOR_EACH (STD_VECTOR<OnlinePlayer*>::const_iterator, it, mDisregard) - mBrowserBox->addRow((*it)->getText()); + mBrowserBox->addRow((*it)->getText(), false); if (mScrollArea->getVerticalMaxScroll() < mScrollArea->getVerticalScrollAmount()) |