Remove qdebugs

This commit is contained in:
Albert Vaca 2016-06-26 15:48:15 +02:00
parent c154d9702b
commit 04713de718

View file

@ -414,11 +414,9 @@ void LanLinkProvider::configureSslSocket(QSslSocket* socket, const QString& devi
if (isDeviceTrusted) {
QString certString = KdeConnectConfig::instance()->getDeviceProperty(deviceId, "certificate", QString());
qCDebug(KDECONNECT_CORE) << "Device trusted";
socket->addCaCertificate(QSslCertificate(certString.toLatin1()));
socket->setPeerVerifyMode(QSslSocket::VerifyPeer);
} else {
qCDebug(KDECONNECT_CORE) << "Device untrusted";
socket->setPeerVerifyMode(QSslSocket::QueryPeer);
}