summaryrefslogtreecommitdiff
path: root/src/gui/windows/didyouknowwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-17 19:07:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-17 19:07:25 +0300
commite9fb9da5bf17d3402781eb5205be7d2f794887ee (patch)
tree729a7932fab668bcc2de180ebfe287e811f8e136 /src/gui/windows/didyouknowwindow.cpp
parent00ec60c1c0c3db8e3602e85dd152106f59f0c0e2 (diff)
downloadmanaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.gz
manaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.bz2
manaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.xz
manaverse-e9fb9da5bf17d3402781eb5205be7d2f794887ee.zip
Add strong typed bool Opaque.
Diffstat (limited to 'src/gui/windows/didyouknowwindow.cpp')
-rw-r--r--src/gui/windows/didyouknowwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/didyouknowwindow.cpp b/src/gui/windows/didyouknowwindow.cpp
index 1737010cc..db9352243 100644
--- a/src/gui/windows/didyouknowwindow.cpp
+++ b/src/gui/windows/didyouknowwindow.cpp
@@ -52,10 +52,10 @@ DidYouKnowWindow::DidYouKnowWindow() :
// TRANSLATORS: did you know window name
Window(_("Did You Know?"), Modal_false, nullptr, "didyouknow.xml"),
ActionListener(),
- 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, "didyouknow_background.xml")),
+ Opaque_true, "didyouknow_background.xml")),
// TRANSLATORS: did you know window button
mButtonPrev(new Button(this, _("< Previous"), "prev", this)),
// TRANSLATORS: did you know window button
@@ -76,7 +76,7 @@ DidYouKnowWindow::DidYouKnowWindow() :
setupWindow->registerWindowForReset(this);
setDefaultSize(500, 400, ImagePosition::CENTER);
- mBrowserBox->setOpaque(false);
+ mBrowserBox->setOpaque(Opaque_false);
// TRANSLATORS: did you know window button
Button *const okButton = new Button(this, _("Close"), "close", this);