Showing the changes to libraries/script-engine/src/FileScriptingInterface.cpp (1 of 30 files). Show all
Unified · Split
| @@ -50,7 +50,7 @@ void FileScriptingInterface::runUnzip(QString path, QUrl url, bool autoAdd, bool · 49 unmodified lines | ||
| 50 | 50 | tempDir = zipTemp.path(); |
| 51 | 51 | path.remove("file:///"); |
| 52 | 52 | } |
| 53 | − | |
| 53 | + | |
| 54 | 54 | qCDebug(scriptengine) << "Temporary directory at: " + tempDir; |
| 55 | 55 | if (!isTempDir(tempDir)) { |
| 56 | 56 | qCDebug(scriptengine) << "Temporary directory mismatch; risk of losing files"; |
| @@ -58,7 +58,7 @@ void FileScriptingInterface::runUnzip(QString path, QUrl url, bool autoAdd, bool · 1 unmodified line | ||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | QStringList fileList = unzipFile(path, tempDir); |
| 61 | − | |
| 61 | + | |
| 62 | 62 | if (!fileList.isEmpty()) { |
| 63 | 63 | qCDebug(scriptengine) << "First file to upload: " + fileList.first(); |
| 64 | 64 | } else { |