Showing the changes to libraries/script-engine/src/FileScriptingInterface.cpp (1 of 2 files). Show all
Unified · Split
| @@ -34,10 +34,10 @@ FileScriptingInterface::FileScriptingInterface(QObject* parent) : QObject(parent · 33 unmodified lines | |||
| 34 | 34 | ||
| 35 | void FileScriptingInterface::runUnzip(QString path, QUrl url, bool autoAdd, bool isZip) { | 35 | void FileScriptingInterface::runUnzip(QString path, QUrl url, bool autoAdd, bool isZip) { |
| 36 | qCDebug(scriptengine) << "Url that was downloaded: " + url.toString(); | 36 | qCDebug(scriptengine) << "Url that was downloaded: " + url.toString(); |
| 37 | if ((url.toString()).contains("vr.google.com/downloads")) { | 37 | /*if ((url.toString()).contains("vr.google.com/downloads")) { |
| 38 | 38 | ||
| 39 | path = downloadBlocksZip(url); | 39 | path = downloadBlocksZip(url); |
| 40 | } | 40 | }*/ |
| 41 | qCDebug(scriptengine) << "Path where download is saved: " + path; | 41 | qCDebug(scriptengine) << "Path where download is saved: " + path; |
| 42 | QString fileName = "/" + path.section("/", -1); | 42 | QString fileName = "/" + path.section("/", -1); |
| 43 | QString tempDir = path; | 43 | QString tempDir = path; |