summaryrefslogtreecommitdiff
path: root/src/gui
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
parent9e7105682e11210df656346bf42c66b2d3e6b60e (diff)
downloadmanaverse-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.gz
manaverse-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.bz2
manaverse-36c93077464d677b96f7e5e76749aa55d8ab88ad.tar.xz
manaverse-36c93077464d677b96f7e5e76749aa55d8ab88ad.zip
improve function pointers usage in updaterwindow.
Diffstat (limited to 'src/gui')
-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
{