From 4065c88fafbc46515706476c7abf94fb5fe488e3 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Fri, 28 Jul 2017 00:24:09 +1000 Subject: [PATCH] Apply the workaround to Qt 5.9.1 #14 The use of 5.7.1 was for testing only. --- src/core/awsabstractsignature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/awsabstractsignature.cpp b/src/core/awsabstractsignature.cpp index 383ff57219f..7a8465fcac0 100644 --- a/src/core/awsabstractsignature.cpp +++ b/src/core/awsabstractsignature.cpp @@ -156,7 +156,7 @@ QString AwsAbstractSignaturePrivate::canonicalPath(const QUrl &url) const // attempt to support UNC paths. This is probably a bug in Qt, and not the // same as the one mentioned above (which still appears to be in issue in // Qt 5.9.1 also). - #if QT_VERSION == QT_VERSION_CHECK(5, 7, 1) + #if QT_VERSION == QT_VERSION_CHECK(5, 9, 1) if (path.endsWith(QLatin1String("/."))) { path.chop(1); // Remove the trailing '.' character. qDebug() << "canonicalPath" << "path.chop" << path;