Prefix class for ReloadSettings

This commit is contained in:
Jonas Kvinge 2023-06-06 23:20:42 +02:00
parent be6f93735d
commit 9db7896828
3 changed files with 3 additions and 3 deletions

View File

@ -86,7 +86,7 @@ ListenBrainzScrobbler::ListenBrainzScrobbler(AudioScrobbler *scrobbler, NetworkA
timer_submit_.setSingleShot(true); timer_submit_.setSingleShot(true);
QObject::connect(&timer_submit_, &QTimer::timeout, this, &ListenBrainzScrobbler::Submit); QObject::connect(&timer_submit_, &QTimer::timeout, this, &ListenBrainzScrobbler::Submit);
ReloadSettings(); ListenBrainzScrobbler::ReloadSettings();
LoadSession(); LoadSession();
} }

View File

@ -85,7 +85,7 @@ ScrobblingAPI20::ScrobblingAPI20(const QString &name, const QString &settings_gr
timer_submit_.setSingleShot(true); timer_submit_.setSingleShot(true);
QObject::connect(&timer_submit_, &QTimer::timeout, this, &ScrobblingAPI20::Submit); QObject::connect(&timer_submit_, &QTimer::timeout, this, &ScrobblingAPI20::Submit);
ReloadSettings(); ScrobblingAPI20::ReloadSettings();
LoadSession(); LoadSession();
} }

View File

@ -46,7 +46,7 @@ SubsonicScrobbler::SubsonicScrobbler(AudioScrobbler *scrobbler, SubsonicService
enabled_(false), enabled_(false),
submitted_(false) { submitted_(false) {
ReloadSettings(); SubsonicScrobbler::ReloadSettings();
timer_submit_.setSingleShot(true); timer_submit_.setSingleShot(true);
QObject::connect(&timer_submit_, &QTimer::timeout, this, &SubsonicScrobbler::Submit); QObject::connect(&timer_submit_, &QTimer::timeout, this, &SubsonicScrobbler::Submit);