summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{