diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index 3128cbd61..ff6fe2a8a 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -23,6 +23,8 @@ #include "gui/widgets/browserbox.h" +#include "settings.h" + #include "input/inputmanager.h" #include "gui/gui.h" @@ -198,6 +200,12 @@ void BrowserBox::addRow(const std::string &row, const bool atTop) if (getWidth() < 0) return; + if (mProcessVars) + { + tmp = replaceAll(tmp, "%VER%", SMALL_VERSION); + tmp = replaceAll(tmp, "%SUPPORTURL%", settings.supportUrl); + } + // Use links and user defined colors if (mUseLinksAndUserColors) { @@ -271,9 +279,6 @@ void BrowserBox::addRow(const std::string &row, const bool atTop) newRow = row; } - if (mProcessVars) - newRow = replaceAll(newRow, "%VER%", SMALL_VERSION); - if (mEnableTabs) { idx1 = newRow.find("\\t"); |