diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-22 15:23:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-22 15:23:28 +0300 |
commit | d7131239c18eafecef2e8b8fa6898ba9962ff0e8 (patch) | |
tree | f54629cc0e2616281957e24e18f27f9d33ceaa4b /src/gui/windows/updaterwindow.cpp | |
parent | 0dd6ab2bfdee4527ca0960b4e7a64e257bb93fa3 (diff) | |
download | plus-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.cpp | 3 |
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")), |