Prefix class for ReloadSettings
This commit is contained in:
parent
be6f93735d
commit
9db7896828
|
@ -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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue