summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-18 16:03:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-18 16:03:26 +0300
commit4131fd51d112c1ca88f39cb546917be3a991e9c1 (patch)
treed4fe8dda3b54e192fb8417f12f2ffa0dceebf80c /src/gui/widgets
parent3c5feb9427569f0d7610d081845e973548ac04f8 (diff)
downloadmanaplus-4131fd51d112c1ca88f39cb546917be3a991e9c1.tar.gz
manaplus-4131fd51d112c1ca88f39cb546917be3a991e9c1.tar.bz2
manaplus-4131fd51d112c1ca88f39cb546917be3a991e9c1.tar.xz
manaplus-4131fd51d112c1ca88f39cb546917be3a991e9c1.zip
Rename browserbox method setProcessVersion into setProcessVars.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/browserbox.cpp4
-rw-r--r--src/gui/widgets/browserbox.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index f87bc23e3..3128cbd61 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -97,7 +97,7 @@ BrowserBox::BrowserBox(const Widget2 *const widget,
mUseLinksAndUserColors(true),
mUseEmotes(true),
mAlwaysUpdate(true),
- mProcessVersion(false),
+ mProcessVars(false),
mEnableImages(false),
mEnableKeys(false),
mEnableTabs(false)
@@ -271,7 +271,7 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
newRow = row;
}
- if (mProcessVersion)
+ if (mProcessVars)
newRow = replaceAll(newRow, "%VER%", SMALL_VERSION);
if (mEnableTabs)
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index 4fdb45189..c8c78eb59 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -173,8 +173,8 @@ class BrowserBox final : public Widget,
void setAlwaysUpdate(bool n)
{ mAlwaysUpdate = n; }
- void setProcessVersion(bool n)
- { mProcessVersion = n; }
+ void setProcessVars(bool n)
+ { mProcessVars = n; }
void setEnableImages(bool n)
{ mEnableImages = n; }
@@ -242,7 +242,7 @@ class BrowserBox final : public Widget,
bool mUseLinksAndUserColors;
bool mUseEmotes;
bool mAlwaysUpdate;
- bool mProcessVersion;
+ bool mProcessVars;
bool mEnableImages;
bool mEnableKeys;
bool mEnableTabs;