summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 19:15:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 19:15:51 +0300
commitd78eb448f235f80667378f57d325ee0d3fb0a633 (patch)
tree55bcff624bb61627ba85561864069e11d9d661cf /src/gui
parent19e3c0f6b80b41e1dca65899053590f59952e3fb (diff)
downloadplus-d78eb448f235f80667378f57d325ee0d3fb0a633.tar.gz
plus-d78eb448f235f80667378f57d325ee0d3fb0a633.tar.bz2
plus-d78eb448f235f80667378f57d325ee0d3fb0a633.tar.xz
plus-d78eb448f235f80667378f57d325ee0d3fb0a633.zip
Move variables replace code from browserbox into browserboxtools.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/browserbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index c57a9bf4c..13de696e9 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -60,6 +60,7 @@
#include "resources/loaders/imageloader.h"
#include "resources/loaders/imagesetloader.h"
+#include "utils/browserboxtools.h"
#include "utils/stringutils.h"
#include "utils/timer.h"
#include "utils/translation/podict.h"
@@ -217,8 +218,7 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
if (mProcessVars)
{
- tmp = replaceAll(tmp, "%VER%", SMALL_VERSION);
- tmp = replaceAll(tmp, "%SUPPORTURL%", settings.supportUrl);
+ BrowserBoxTools::replaceVars(tmp);
}
// Use links and user defined colors