History

small revisions to bracketing/variable name

Elisa Lupin-Jimenez committed 9 years ago

Commit af432081 parent 8c9ce821 file · +4 −6Browse files

Showing the changes to libraries/script-engine/src/FileScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/FileScriptingInterface.cpp+4−6
@@ -40,8 +40,8 @@ void FileScriptingInterface::runUnzip(QString path, QUrl url, bool autoAdd, bool · 39 unmodified lines
40 if (!isZip) {40 if (!isZip) {
41 tempDir.remove(fileName);41 tempDir.remove(fileName);
42 } else {42 } else {
43 QTemporaryDir blocks;43 QTemporaryDir zipTemp;
44 tempDir = blocks.path();44 tempDir = zipTemp.path();
45 path.remove("file:///");45 path.remove("file:///");
46 }46 }
47 47
@@ -56,8 +56,7 @@ void FileScriptingInterface::runUnzip(QString path, QUrl url, bool autoAdd, bool · 8 unmodified lines
56 56
57 if (filename != "") {57 if (filename != "") {
58 qCDebug(scriptengine) << "File to upload: " + filename;58 qCDebug(scriptengine) << "File to upload: " + filename;
59 }59 } else {
60 else {
61 qCDebug(scriptengine) << "Unzip failed";60 qCDebug(scriptengine) << "Unzip failed";
62 }61 }
63 emit unzipResult(path, fileList, autoAdd, isZip);62 emit unzipResult(path, fileList, autoAdd, isZip);
@@ -76,8 +75,7 @@ QStringList FileScriptingInterface::unzipFile(QString path, QString tempDir) { · 12 unmodified lines
76 75
77 if (!list.isEmpty()) {76 if (!list.isEmpty()) {
78 return list;77 return list;
79 }78 } else {
80 else {
81 qCDebug(scriptengine) << "Extraction failed";79 qCDebug(scriptengine) << "Extraction failed";
82 return list;80 return list;
83 }81 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t