Showing the changes to libraries/script-engine/src/FileScriptingInterface.cpp (1 of 23 files). Show all
Unified · Split
| @@ -85,7 +85,7 @@ QString FileScriptingInterface::convertUrlToPath(QUrl url) { · 84 unmodified lines | |||
| 85 | // this function is not in use | 85 | // this function is not in use |
| 86 | void FileScriptingInterface::downloadZip(QString path, const QString link) { | 86 | void FileScriptingInterface::downloadZip(QString path, const QString link) { |
| 87 | QUrl url = QUrl(link); | 87 | QUrl url = QUrl(link); |
| 88 | auto request = ResourceManager::createResourceRequest(nullptr, url); | 88 | auto request = DependencyManager::get<ResourceManager>()->createResourceRequest(nullptr, url); |
| 89 | connect(request, &ResourceRequest::finished, this, [this, path]{ | 89 | connect(request, &ResourceRequest::finished, this, [this, path]{ |
| 90 | unzipFile(path, ""); // so intellisense isn't mad | 90 | unzipFile(path, ""); // so intellisense isn't mad |
| 91 | }); | 91 | }); |