Only set lastfm to https for liblastfm1

(cherry picked from commit 1cc889fbfc80ce6e3d2c4593f0efe9ef8f0a1b6c)
This commit is contained in:
John Maguire 2016-02-09 15:17:20 +00:00
parent 3546bcf08d
commit 29668fcd6c

View File

@ -83,7 +83,9 @@ LastFMService::LastFMService(Application* app, QObject* parent)
scrobbling_enabled_(false), scrobbling_enabled_(false),
connection_problems_(false), connection_problems_(false),
app_(app) { app_(app) {
#ifdef HAVE_LIBLASTFM1
lastfm::ws::setScheme(lastfm::ws::Https); lastfm::ws::setScheme(lastfm::ws::Https);
#endif
ReloadSettings(); ReloadSettings();