summaryrefslogtreecommitdiff
path: root/src/downloadmanager.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-03-18 18:29:32 +0100
committerTannin <devnull@localhost>2014-03-18 18:29:32 +0100
commit8ab1b479438dd929bc953e554629d1bddca61c9e (patch)
treec68b07415602041d3f247ec71ad5e966877e8d83 /src/downloadmanager.cpp
parent129b76d7d2d90c3a791e101435987993ed8b312a (diff)
- bugfix: if resuming a download failed with the server sending a textual error message,
MO tried to display the whole file inside the error message - bugfix: resuming a download didn't trigger a nexus-login when necessary - bugfix: integrated fomod installer only used the first block of data inside a description
Diffstat (limited to 'src/downloadmanager.cpp')
-rw-r--r--src/downloadmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp
index 31d8bcec..e747b299 100644
--- a/src/downloadmanager.cpp
+++ b/src/downloadmanager.cpp
@@ -1246,7 +1246,7 @@ void DownloadManager::downloadFinished()
textData) {
if (info->m_Tries == 0) {
if (textData && (reply->error() == QNetworkReply::NoError)) {
- emit showMessage(tr("Download failed. Server reported: %1").arg(readFileText(info->m_Output.fileName())));
+ emit showMessage(tr("Download failed. Server reported: %1").arg(QString(data)));
} else {
emit showMessage(tr("Download failed: %1 (%2)").arg(reply->errorString()).arg(reply->error()));
}