Only set lastfm to https for liblastfm1

This commit is contained in:
John Maguire 2016-02-09 15:17:20 +00:00
parent be471e1792
commit 1cc889fbfc
1 changed files with 2 additions and 0 deletions

View File

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