summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 14:11:30 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:25 +0300
commit36c93077464d677b96f7e5e76749aa55d8ab88ad (patch)
treeaf9f5a996068d510eedcce80e523b58f1e7a536a /src/gui/windows/updaterwindow.cpp
parent9e7105682e11210df656346bf42c66b2d3e6b60e (diff)
downloadplus-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.gz
plus-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.bz2
plus-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.xz
plus-36c93077464d677b96f7e5e76749aa55d8ab88ad.zip
improve function pointers usage in updaterwindow.
Diffstat (limited to 'src/gui/windows/updaterwindow.cpp')
-rw-r--r--src/gui/windows/updaterwindow.cpp6
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
{