summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/browserbox.cpp11
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");