From 36c93077464d677b96f7e5e76749aa55d8ab88ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 19 Oct 2013 14:11:30 +0300 Subject: improve function pointers usage in updaterwindow. --- src/gui/windows/updaterwindow.cpp | 6 +++--- 1 file 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 { -- cgit v1.2.3-70-g09d2