diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-19 14:11:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:25 +0300 |
commit | 36c93077464d677b96f7e5e76749aa55d8ab88ad (patch) | |
tree | af9f5a996068d510eedcce80e523b58f1e7a536a /src/gui/windows | |
parent | 9e7105682e11210df656346bf42c66b2d3e6b60e (diff) | |
download | mv-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.gz mv-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.bz2 mv-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.xz mv-36c93077464d677b96f7e5e76749aa55d8ab88ad.zip |
improve function pointers usage in updaterwindow.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 37b392b43..d381e11c2 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -505,17 +505,17 @@ void UpdaterWindow::download() { mDownload = new Net::Download(this, "http://manaplus.org/update/" + mCurrentFile, - updateProgress, true); + &updateProgress, true); } else { mDownload = new Net::Download(this, std::string(mUpdateHost).append( - "/").append(mCurrentFile), updateProgress); + "/").append(mCurrentFile), &updateProgress); } if (mStoreInMemory) { - mDownload->setWriteFunction(UpdaterWindow::memoryWrite); + mDownload->setWriteFunction(&UpdaterWindow::memoryWrite); } else { |