summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.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/updaterwindow.cpp
parent00ec60c1c0c3db8e3602e85dd152106f59f0c0e2 (diff)
downloadplus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.gz
plus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.bz2
plus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.tar.xz
plus-e9fb9da5bf17d3402781eb5205be7d2f794887ee.zip
Add strong typed bool Opaque.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r--src/gui/windows/updaterwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index 8dd88f9c6..b2adf2be3 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -193,10 +193,10 @@ UpdaterWindow::UpdaterWindow(const std::string &restrict updateHost,
mProgressBar(new ProgressBar(this, 0.0, 310, 0,
ProgressColorId::PROG_UPDATE,
"updateprogressbar.xml", "updateprogressbar_fill.xml")),
- 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, "update_background.xml")),
+ Opaque_true, "update_background.xml")),
mDownloadStatus(UpdateDownloadStatus::UPDATE_NEWS),
mDownloadedBytes(0),
mUpdateIndex(0),
@@ -216,7 +216,7 @@ UpdaterWindow::UpdaterWindow(const std::string &restrict updateHost,
setMinHeight(220);
mProgressBar->setSmoothProgress(false);
- mBrowserBox->setOpaque(false);
+ mBrowserBox->setOpaque(Opaque_false);
mBrowserBox->setLinkHandler(this);
mBrowserBox->setProcessVars(true);
mBrowserBox->setEnableKeys(true);