Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -6504,6 +6504,7 @@ void Application::addAssetToWorldFromURLRequestFinished() { · 6503 unmodified lines | ||
| 6504 | 6504 | if (tempFile.open(QIODevice::WriteOnly)) { |
| 6505 | 6505 | tempFile.write(request->getData()); |
| 6506 | 6506 | addAssetToWorldInfoClear(filename); // Remove message from list; next one added will have a different key. |
| 6507 | + tempFile.close(); | |
| 6507 | 6508 | qApp->getFileDownloadInterface()->runUnzip(downloadPath, url, true, false, isBlocks); |
| 6508 | 6509 | } else { |
| 6509 | 6510 | QString errorInfo = "Couldn't open temporary file for download"; |