Use one instance of NetworkAccessManager

This commit is contained in:
Jonas Kvinge
2023-04-21 20:20:53 +02:00
parent bee6b7f946
commit 7fc5aef553
53 changed files with 270 additions and 311 deletions

View File

@@ -57,6 +57,8 @@
#include "subsonicscrobblerequest.h"
#include "settings/settingsdialog.h"
#include "settings/subsonicsettingspage.h"
#include "scrobbler/audioscrobbler.h"
#include "scrobbler/subsonicscrobbler.h"
const Song::Source SubsonicService::kSource = Song::Source::Subsonic;
const char *SubsonicService::kClientName = "Strawberry";
@@ -97,6 +99,8 @@ SubsonicService::SubsonicService(Application *app, QObject *parent)
SubsonicService::ReloadSettings();
app->scrobbler()->AddService(new SubsonicScrobbler(app->scrobbler(), this, this));
}
SubsonicService::~SubsonicService() {