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 | tempDir = zipTemp.path(); | 50 | tempDir = zipTemp.path(); |
| 51 | path.remove("file:///"); | 51 | path.remove("file:///"); |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | qCDebug(scriptengine) << "Temporary directory at: " + tempDir; | 54 | qCDebug(scriptengine) << "Temporary directory at: " + tempDir; |
| 55 | if (!isTempDir(tempDir)) { | 55 | if (!isTempDir(tempDir)) { |
| 56 | qCDebug(scriptengine) << "Temporary directory mismatch; risk of losing files"; | 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 | QStringList fileList = unzipFile(path, tempDir); | 60 | QStringList fileList = unzipFile(path, tempDir); |
| 61 | 61 | ||
| 62 | if (!fileList.isEmpty()) { | 62 | if (!fileList.isEmpty()) { |
| 63 | qCDebug(scriptengine) << "First file to upload: " + fileList.first(); | 63 | qCDebug(scriptengine) << "First file to upload: " + fileList.first(); |
| 64 | } else { | 64 | } else { |