diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/desktop.cpp | 6 | ||||
-rw-r--r-- | src/gui/widgets/staticbrowserbox.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/staticbrowserbox.h | 2 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/gui/widgets/desktop.cpp b/src/gui/widgets/desktop.cpp index 87eb14c48..f028dec29 100644 --- a/src/gui/widgets/desktop.cpp +++ b/src/gui/widgets/desktop.cpp @@ -73,12 +73,14 @@ Desktop::Desktop(const Widget2 *const widget) : const std::string appName = branding.getValue("appName", std::string()); if (appName.empty()) { - mVersionLabel->addRow(FULL_VERSION); + mVersionLabel->addRow(FULL_VERSION, + false); } else { mVersionLabel->addRow(strprintf("%s (%s)", FULL_VERSION, - appName.c_str())); + appName.c_str()), + false); } mVersionLabel->addRow("copyright", "(C) ManaPlus developers, http://manaplus.org"); diff --git a/src/gui/widgets/staticbrowserbox.cpp b/src/gui/widgets/staticbrowserbox.cpp index de0d787a7..38e936579 100644 --- a/src/gui/widgets/staticbrowserbox.cpp +++ b/src/gui/widgets/staticbrowserbox.cpp @@ -291,7 +291,8 @@ void StaticBrowserBox::addRow(const std::string &cmd, const char *const text) { addRow(strprintf("@@%s|%s@@", encodeLinkText(cmd).c_str(), - encodeLinkText(text).c_str())); + encodeLinkText(text).c_str()), + false); } void StaticBrowserBox::addImage(const std::string &path) diff --git a/src/gui/widgets/staticbrowserbox.h b/src/gui/widgets/staticbrowserbox.h index ff5862577..452bea681 100644 --- a/src/gui/widgets/staticbrowserbox.h +++ b/src/gui/widgets/staticbrowserbox.h @@ -78,7 +78,7 @@ class StaticBrowserBox final : public Widget, * Adds a text row to the browser. */ void addRow(const std::string &row, - const bool atTop = false); + const bool atTop); /** * Adds a menu line to the browser. |