summaryrefslogtreecommitdiff
path: root/src/downloadmanager.cpp
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2019-12-31 02:49:15 -0600
committerSilarn <jrim@rimpo.org>2019-12-31 02:49:15 -0600
commitd259a0e1fa2d8812891c59fc61cd48402ed33797 (patch)
treeb8e1f1bc0e85ee0ebb4b749b887f9a4eb1a5b836 /src/downloadmanager.cpp
parent57b049b6d7825d4de38bcbaeb6bb5efc0fba8109 (diff)
Migrate obsoleted qVariantFromValue
Diffstat (limited to 'src/downloadmanager.cpp')
-rw-r--r--src/downloadmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp
index adfbc84d..8b644b8c 100644
--- a/src/downloadmanager.cpp
+++ b/src/downloadmanager.cpp
@@ -639,7 +639,7 @@ void DownloadManager::addNXMDownload(const QString &url)
info->nexusDownloadUser = nxmInfo.userId();
QObject *test = info;
- m_RequestIDs.insert(m_NexusInterface->requestFileInfo(foundGame->gameShortName(), nxmInfo.modId(), nxmInfo.fileId(), this, qVariantFromValue(test), ""));
+ m_RequestIDs.insert(m_NexusInterface->requestFileInfo(foundGame->gameShortName(), nxmInfo.modId(), nxmInfo.fileId(), this, QVariant::fromValue(test), ""));
}
@@ -1690,7 +1690,7 @@ void DownloadManager::nxmFileInfoAvailable(QString gameName, int modID, int file
info->fileID = fileID;
QObject *test = info;
- m_RequestIDs.insert(m_NexusInterface->requestDownloadURL(info->gameName, info->modID, info->fileID, this, qVariantFromValue(test), QString()));
+ m_RequestIDs.insert(m_NexusInterface->requestDownloadURL(info->gameName, info->modID, info->fileID, this, QVariant::fromValue(test), QString()));
}
static int evaluateFileInfoMap(