summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-22 15:23:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-22 15:23:28 +0300
commitd7131239c18eafecef2e8b8fa6898ba9962ff0e8 (patch)
treef54629cc0e2616281957e24e18f27f9d33ceaa4b /src/gui/windows/updaterwindow.cpp
parent0dd6ab2bfdee4527ca0960b4e7a64e257bb93fa3 (diff)
downloadplus-d7131239c18eafecef2e8b8fa6898ba9962ff0e8.tar.gz
plus-d7131239c18eafecef2e8b8fa6898ba9962ff0e8.tar.bz2
plus-d7131239c18eafecef2e8b8fa6898ba9962ff0e8.tar.xz
plus-d7131239c18eafecef2e8b8fa6898ba9962ff0e8.zip
allow use different theme file for different progress bars.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r--src/gui/windows/updaterwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index 003529fbc..e219ab0b7 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -179,7 +179,8 @@ UpdaterWindow::UpdaterWindow(const std::string &restrict updateHost,
mCancelButton(new Button(this, _("Cancel"), "cancel", this)),
// TRANSLATORS: updater window button
mPlayButton(new Button(this, _("Play"), "play", this)),
- mProgressBar(new ProgressBar(this, 0.0, 310, 0, Theme::PROG_UPDATE)),
+ mProgressBar(new ProgressBar(this, 0.0, 310, 0, Theme::PROG_UPDATE,
+ "updateprogressbar.xml")),
mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, true,
"browserbox.xml")),
mScrollArea(new ScrollArea(mBrowserBox, true, "update_background.xml")),