diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-05 21:49:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-06 12:12:22 +0300 |
commit | 2bd59adc7c456ce6f377feac8bc838e8011ebfc8 (patch) | |
tree | f2f25428e42e59b9a6d55d7c0be9a99c42e96e40 /src/gui/windows/updaterwindow.cpp | |
parent | ac1ef6b19f5c1405cfaa239ab367a93b17043723 (diff) | |
download | mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.gz mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.bz2 mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.tar.xz mv-2bd59adc7c456ce6f377feac8bc838e8011ebfc8.zip |
Fix code style.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index ae63d194a..1ef2b7e2c 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -26,12 +26,6 @@ #include "configuration.h" #include "settings.h" -#include "enums/gui/progresscolorid.h" - -#include "enums/input/inputaction.h" - -#include "enums/net/updatetype.h" - #include "gui/widgets/browserbox.h" #include "gui/widgets/button.h" #include "gui/widgets/containerplacer.h" @@ -58,6 +52,8 @@ #include <sys/stat.h> +#include <sstream> + #include "debug.h" UpdaterWindow *updaterWindow = nullptr; @@ -193,8 +189,9 @@ 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, ProgressColorId::PROG_UPDATE, - "updateprogressbar.xml", "updateprogressbar_fill.xml")), + mProgressBar(new ProgressBar(this, 0.0, 310, 0, + ProgressColorId::PROG_UPDATE, + "updateprogressbar.xml", "updateprogressbar_fill.xml")), mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, true, "browserbox.xml")), mScrollArea(new ScrollArea(this, mBrowserBox, |