diff options
| author | Jeremy Rimpo <jrim@rimpo.org> | 2020-01-07 11:55:13 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-07 11:55:13 -0600 |
| commit | f37ec77b2624fb4a41acf89ea7d12d9dc6ffa08d (patch) | |
| tree | 6ef1a4d7d0c5f659149ca1b6d8ff291f2cbcebe3 /src/downloadmanager.cpp | |
| parent | d1a788dfad341b32235abc25c2ba1645f8be1ace (diff) | |
| parent | 81abbacd6746b89a8b83f59e420fc0d3d7885912 (diff) | |
Merge pull request #959 from ModOrganizer2/qt-5-14
Qt 5 14
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 4 |
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( |
