diff options
Diffstat (limited to 'src')
-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); |