From bdf04f516ca7c5274ff50104662e372ed29aea6b Mon Sep 17 00:00:00 2001 From: Tannin Date: Thu, 10 Oct 2013 21:23:25 +0200 Subject: - MO now warns if a nxm-link for a wrong game was attempted instead of downloading the wrong file - bugfix: in nxmhandler adding a new line with different game but same executable didn't work (the change was silently dropped) --- src/nexusinterface.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/nexusinterface.cpp') diff --git a/src/nexusinterface.cpp b/src/nexusinterface.cpp index bee0bb44..936ff400 100644 --- a/src/nexusinterface.cpp +++ b/src/nexusinterface.cpp @@ -397,7 +397,7 @@ void NexusInterface::nextRequest() QNetworkRequest request(url); request.setHeader(QNetworkRequest::ContentTypeHeader, "application/xml"); #pragma message("automatically insert the correct version number") - request.setRawHeader("User-Agent", QString("Mod Organizer v0.99.0 (compatible to Nexus Client v%1)").arg(m_NMMVersion).toUtf8()); + request.setRawHeader("User-Agent", QString("Mod Organizer v1.0.5 (compatible to Nexus Client v%1)").arg(m_NMMVersion).toUtf8()); info.m_Reply = m_AccessManager->get(request); @@ -414,8 +414,6 @@ void NexusInterface::downloadRequestedNXM(const QString &url) emit requestNXMDownload(url); } -#include - void NexusInterface::requestFinished(std::list::iterator iter) { QNetworkReply *reply = iter->m_Reply; -- cgit v1.3.1