diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:48:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:48:11 +0300 |
commit | 6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (patch) | |
tree | d158a975756cdd5983632af8ff34229dbb9007d9 /src/gui/windows/serverdialog.cpp | |
parent | 41d9ca028de0740fd23a3dabaece8d1fd1bf93c1 (diff) | |
download | mv-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.gz mv-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.bz2 mv-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.xz mv-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.zip |
Convert DownloadStatus enum into strong typed enum.
Diffstat (limited to 'src/gui/windows/serverdialog.cpp')
-rw-r--r-- | src/gui/windows/serverdialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/serverdialog.cpp b/src/gui/windows/serverdialog.cpp index 26b12b0d1..8bd1dceb3 100644 --- a/src/gui/windows/serverdialog.cpp +++ b/src/gui/windows/serverdialog.cpp @@ -701,8 +701,10 @@ void ServerDialog::saveCustomServers(const ServerInfo ¤tServer, config.setValue("MostUsedServerName" + toString(savedServerCount), ""); } -int ServerDialog::downloadUpdate(void *ptr, DownloadStatus::Type status, - size_t total, size_t remaining) +int ServerDialog::downloadUpdate(void *ptr, + DownloadStatusT status, + size_t total, + size_t remaining) { if (!ptr || status == DownloadStatus::Cancelled) return -1; |