summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-01 17:48:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-01 17:48:11 +0300
commit6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (patch)
treed158a975756cdd5983632af8ff34229dbb9007d9 /src/gui/windows/updaterwindow.cpp
parent41d9ca028de0740fd23a3dabaece8d1fd1bf93c1 (diff)
downloadplus-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.gz
plus-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.bz2
plus-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.xz
plus-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.zip
Convert DownloadStatus enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r--src/gui/windows/updaterwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp
index 1a6a75093..b8ead9549 100644
--- a/src/gui/windows/updaterwindow.cpp
+++ b/src/gui/windows/updaterwindow.cpp
@@ -478,8 +478,10 @@ void UpdaterWindow::loadPatch()
mScrollArea->setVerticalScrollAmount(0);
}
-int UpdaterWindow::updateProgress(void *ptr, DownloadStatus::Type status,
- size_t dt, size_t dn)
+int UpdaterWindow::updateProgress(void *ptr,
+ DownloadStatusT status,
+ size_t dt,
+ size_t dn)
{
UpdaterWindow *const uw = reinterpret_cast<UpdaterWindow *>(ptr);
if (!uw)