Remove redundant QT_PREPEND_NAMESPACE
We are already QT namespace, no need in QT_PREPEND_NAMESPACE. The original code had invalid '::' thus referencing a name from a global scope, it was fixed by QT_PREPEND_NAMESPACE, but just removing '::' is enough. Change-Id: Icda2a2ce8e474a358b74edd49bca487621608e78 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
parent
53180c430f
commit
b414b9e6cd
@ -138,7 +138,7 @@ QList<QSslCertificate> QSslSocketPrivate::systemCaCertificates()
|
||||
for (CFIndex i = 0; i < size; ++i) {
|
||||
SecCertificateRef cfCert = (SecCertificateRef)CFArrayGetValueAtIndex(cfCerts, i);
|
||||
QCFType<CFDataRef> derData = SecCertificateCopyData(cfCert);
|
||||
if (QT_PREPEND_NAMESPACE(isCaCertificateTrusted(cfCert, dom))) {
|
||||
if (isCaCertificateTrusted(cfCert, dom)) {
|
||||
if (derData == NULL) {
|
||||
qCWarning(lcSsl, "Error retrieving a CA certificate from the system store");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user