From 3b395fcbe31bafa65ea7e9344e1f4ff11df0eac2 Mon Sep 17 00:00:00 2001 From: Craig Drummond Date: Sun, 27 Aug 2017 08:49:15 +0100 Subject: [PATCH] Formatting --- scrobbling/scrobbler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scrobbling/scrobbler.cpp b/scrobbling/scrobbler.cpp index bb8a5f654..bc79fefe0 100644 --- a/scrobbling/scrobbler.cpp +++ b/scrobbling/scrobbler.cpp @@ -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 {