summaryrefslogtreecommitdiff
path: root/src/gui/windows/helpwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-24 00:35:44 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-24 00:35:44 +0300
commit43aa8e6bedff642ba584c447c03886c1f0c52aac (patch)
tree24818c9b3f5196e6c69b97b87d9a547bbbe5aa81 /src/gui/windows/helpwindow.cpp
parent98295d32030c620040e3e6bd912c6808174640e4 (diff)
downloadmanaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.gz
manaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.bz2
manaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.tar.xz
manaverse-43aa8e6bedff642ba584c447c03886c1f0c52aac.zip
Remove default parameter from staticbrowserbox.
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r--src/gui/windows/helpwindow.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp
index 44203d46d..2823c6da9 100644
--- a/src/gui/windows/helpwindow.cpp
+++ b/src/gui/windows/helpwindow.cpp
@@ -157,7 +157,7 @@ void HelpWindow::loadFile(std::string file)
translator, lines);
for (size_t i = 0, sz = lines.size(); i < sz; ++i)
- mBrowserBox->addRow(lines[i]);
+ mBrowserBox->addRow(lines[i], false);
}
void HelpWindow::loadTags()
@@ -209,7 +209,8 @@ void HelpWindow::search(const std::string &text0)
{
const char *const str = (*it).c_str();
mBrowserBox->addRow(strprintf(" -> @@%s|%s@@", str,
- translator->getChar(str)));
+ translator->getChar(str)),
+ false);
}
loadFile("footer");
mScrollArea->setVerticalScrollAmount(0);