summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-08-02 03:29:09 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-08-02 03:29:54 +0200
commit7e8ba785e95385d32024e151697d2e6d4ec61ef3 (patch)
tree6cd8722f2ee42372eea4d8537bf60add24063c9d /src/gui
parentf6bb0f06c1c6de9c2a893459e2e04e7b6ae58348 (diff)
downloadmana-7e8ba785e95385d32024e151697d2e6d4ec61ef3.tar.gz
mana-7e8ba785e95385d32024e151697d2e6d4ec61ef3.tar.bz2
mana-7e8ba785e95385d32024e151697d2e6d4ec61ef3.tar.xz
mana-7e8ba785e95385d32024e151697d2e6d4ec61ef3.zip
Made download progress colorable
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/updaterwindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp
index fe036814..40da4487 100644
--- a/src/gui/updaterwindow.cpp
+++ b/src/gui/updaterwindow.cpp
@@ -37,6 +37,7 @@
#include "net/download.h"
#include "resources/resourcemanager.h"
+#include "resources/theme.h"
#include "utils/gettext.h"
#include "utils/stringutils.h"
@@ -147,7 +148,7 @@ UpdaterWindow::UpdaterWindow(const std::string &updateHost,
mBrowserBox = new BrowserBox;
mScrollArea = new ScrollArea(mBrowserBox);
mLabel = new Label(_("Connecting..."));
- mProgressBar = new ProgressBar(0.0, 310, 20);
+ mProgressBar = new ProgressBar(0.0, 310, 20, Theme::PROG_DOWNLOAD);
mCancelButton = new Button(_("Cancel"), "cancel", this);
mPlayButton = new Button(_("Play"), "play", this);