diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-18 16:03:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-18 16:03:26 +0300 |
commit | 4131fd51d112c1ca88f39cb546917be3a991e9c1 (patch) | |
tree | d4fe8dda3b54e192fb8417f12f2ffa0dceebf80c /src/gui | |
parent | 3c5feb9427569f0d7610d081845e973548ac04f8 (diff) | |
download | plus-4131fd51d112c1ca88f39cb546917be3a991e9c1.tar.gz plus-4131fd51d112c1ca88f39cb546917be3a991e9c1.tar.bz2 plus-4131fd51d112c1ca88f39cb546917be3a991e9c1.tar.xz plus-4131fd51d112c1ca88f39cb546917be3a991e9c1.zip |
Rename browserbox method setProcessVersion into setProcessVars.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 4 | ||||
-rw-r--r-- | src/gui/widgets/browserbox.h | 6 | ||||
-rw-r--r-- | src/gui/windows/didyouknowwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/helpwindow.cpp | 2 |
4 files changed, 7 insertions, 7 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; diff --git a/src/gui/windows/didyouknowwindow.cpp b/src/gui/windows/didyouknowwindow.cpp index fc7294999..146c03776 100644 --- a/src/gui/windows/didyouknowwindow.cpp +++ b/src/gui/windows/didyouknowwindow.cpp @@ -83,7 +83,7 @@ DidYouKnowWindow::DidYouKnowWindow() : mBrowserBox->setLinkHandler(this); if (gui) mBrowserBox->setFont(gui->getHelpFont()); - mBrowserBox->setProcessVersion(true); + mBrowserBox->setProcessVars(true); mBrowserBox->setEnableImages(true); mBrowserBox->setEnableKeys(true); mBrowserBox->setEnableTabs(true); diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp index d4fece698..79962edad 100644 --- a/src/gui/windows/helpwindow.cpp +++ b/src/gui/windows/helpwindow.cpp @@ -78,7 +78,7 @@ HelpWindow::HelpWindow() : mBrowserBox->setLinkHandler(this); if (gui) mBrowserBox->setFont(gui->getHelpFont()); - mBrowserBox->setProcessVersion(true); + mBrowserBox->setProcessVars(true); mBrowserBox->setEnableImages(true); mBrowserBox->setEnableKeys(true); mBrowserBox->setEnableTabs(true); |