Skip to content

Commit

Permalink
New snapshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Mar 9, 2018
2 parents 849d9b6 + 9177e50 commit f3a5f50
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/downloads/index.js
Expand Up @@ -18,7 +18,7 @@ var jsonData = { "versions": [
}
]
},
{ "major": 0, "minor": 0, "patch": 0, "day": 1, "month": 2, "year": 2018, "type": 2,
{ "major": 0, "minor": 0, "patch": 0, "day": 9, "month": 3, "year": 2018, "type": 2,
"platforms": [
{ "name": "Windows", "supported": "Windows 7 and later",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion doc/user/whatIsNew.js
@@ -1,5 +1,5 @@
var jsonData = { "versions": [
{ "anchor": "latest", "description": "Latest snapshot", "day": 1, "month": 2, "year": 2018,
{ "anchor": "latest", "description": "Latest snapshot", "day": 9, "month": 3, "year": 2018,
"categories": [
{ "name": "General",
"entries": [
Expand Down
6 changes: 6 additions & 0 deletions src/plugins/support/ZIPSupport/src/qzip.cpp
Expand Up @@ -1181,7 +1181,13 @@ bool QZipReader::extractAll(const QString &destinationDir) const
}

//---OPENCOR--- BEGIN
#if defined(Q_OS_WIN)
static const QRegularExpression FileNameRegEx = QRegularExpression("\\\\[^\\\\]*$");
#elif defined(Q_OS_LINUX) || defined(Q_OS_MAC)
static const QRegularExpression FileNameRegEx = QRegularExpression("/[^/]*$");
#else
#error Unsupported platform
#endif
//---OPENCOR--- END
for (const FileInfo &fi : allFiles) {
const QString absPath = destinationDir + QDir::separator() + fi.filePath;
Expand Down

0 comments on commit f3a5f50

Please sign in to comment.