diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-17 19:07:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-17 19:07:25 +0300 |
commit | e9fb9da5bf17d3402781eb5205be7d2f794887ee (patch) | |
tree | 729a7932fab668bcc2de180ebfe287e811f8e136 /src/gui/windows/helpwindow.cpp | |
parent | 00ec60c1c0c3db8e3602e85dd152106f59f0c0e2 (diff) | |
download | manaplus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.gz manaplus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.bz2 manaplus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.xz manaplus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.zip |
Add strong typed bool Opaque.
Diffstat (limited to 'src/gui/windows/helpwindow.cpp')
-rw-r--r-- | src/gui/windows/helpwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/helpwindow.cpp b/src/gui/windows/helpwindow.cpp index 63123d56b..54172e1ed 100644 --- a/src/gui/windows/helpwindow.cpp +++ b/src/gui/windows/helpwindow.cpp @@ -54,10 +54,10 @@ HelpWindow::HelpWindow() : ActionListener(), // TRANSLATORS: help window. button. mDYKButton(new Button(this, _("Did you know..."), "DYK", this)), - mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, true, + mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, Opaque_true, "browserbox.xml")), mScrollArea(new ScrollArea(this, mBrowserBox, - true, "help_background.xml")), + Opaque_true, "help_background.xml")), mTagFileMap() { setMinWidth(300); @@ -73,7 +73,7 @@ HelpWindow::HelpWindow() : setDefaultSize(500, 400, ImagePosition::CENTER); - mBrowserBox->setOpaque(false); + mBrowserBox->setOpaque(Opaque_false); mBrowserBox->setLinkHandler(this); if (gui) |