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/serverinfowindow.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/serverinfowindow.cpp')
-rw-r--r-- | src/gui/windows/serverinfowindow.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/gui/windows/serverinfowindow.cpp b/src/gui/windows/serverinfowindow.cpp index 20f8d5f42..d3c851835 100644 --- a/src/gui/windows/serverinfowindow.cpp +++ b/src/gui/windows/serverinfowindow.cpp @@ -100,20 +100,23 @@ void ServerInfoWindow::showServerInfo() if (type == ServerFreeType::Free) { // TRANSLATORS: server info comment - mBrowserBox->addRow(_("##BServer with free license.")); + mBrowserBox->addRow(_("##BServer with free license."), + false); } else if (type == ServerFreeType::NonFree) { // TRANSLATORS: server info comment - mBrowserBox->addRow(_("##BServer with non free license.")); + mBrowserBox->addRow(_("##BServer with non free license."), + false); } else if (type == ServerFreeType::Unknown || type == ServerFreeType::NotSet) { // TRANSLATORS: server info comment - mBrowserBox->addRow(_("##BServer unknown license.")); + mBrowserBox->addRow(_("##BServer unknown license."), + false); } - mBrowserBox->addRow(""); + mBrowserBox->addRow("", false); addServerComment(mServerInfo.serverUrl, // TRANSLATORS: server info comment _("Server")); @@ -141,8 +144,8 @@ void ServerInfoWindow::addSourcesList(const STD_VECTOR<ServerUrlInfo> &list, { if (!list.empty()) { - mBrowserBox->addRow(""); - mBrowserBox->addRow(comment); + mBrowserBox->addRow("", false); + mBrowserBox->addRow(comment, false); FOR_EACH (STD_VECTOR<ServerUrlInfo>::const_iterator, it, list) { const ServerUrlInfo &info = *it; @@ -171,7 +174,8 @@ void ServerInfoWindow::addServerComment(const std::string &url, comment.c_str(), url.c_str()); } - mBrowserBox->addRow(str); + mBrowserBox->addRow(str, + false); } } |