Formatting

This commit is contained in:
Craig Drummond
2017-08-27 08:49:15 +01:00
committed by Craig Drummond
parent a9d97bd034
commit 3b395fcbe3

View File

@@ -618,11 +618,11 @@ void Scrobbler::authenticate()
params["method"] = "auth.getMobileSession";
params["username"] = userName;
bool supportsSsl = false;
#ifndef QT_NO_SSL
supportsSsl = QSslSocket::supportsSsl();
#endif
if (supportsSsl) {
bool supportsSsl = false;
#ifndef QT_NO_SSL
supportsSsl = QSslSocket::supportsSsl();
#endif
if (supportsSsl) {
params["password"] = password;
url.setScheme("https"); // Use HTTPS to authenticate
} else {