Only set lastfm to https for liblastfm1

(cherry picked from commit 1cc889fbfc)
This commit is contained in:
John Maguire 2016-02-09 15:17:20 +00:00
parent 3546bcf08d
commit 29668fcd6c
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();