From 9db7896828d4f0627274e380655cec8ae8595b3d Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 6 Jun 2023 23:20:42 +0200 Subject: [PATCH] Prefix class for ReloadSettings --- src/scrobbler/listenbrainzscrobbler.cpp | 2 +- src/scrobbler/scrobblingapi20.cpp | 2 +- src/scrobbler/subsonicscrobbler.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scrobbler/listenbrainzscrobbler.cpp b/src/scrobbler/listenbrainzscrobbler.cpp index 1f293833b..78223345b 100644 --- a/src/scrobbler/listenbrainzscrobbler.cpp +++ b/src/scrobbler/listenbrainzscrobbler.cpp @@ -86,7 +86,7 @@ ListenBrainzScrobbler::ListenBrainzScrobbler(AudioScrobbler *scrobbler, NetworkA timer_submit_.setSingleShot(true); QObject::connect(&timer_submit_, &QTimer::timeout, this, &ListenBrainzScrobbler::Submit); - ReloadSettings(); + ListenBrainzScrobbler::ReloadSettings(); LoadSession(); } diff --git a/src/scrobbler/scrobblingapi20.cpp b/src/scrobbler/scrobblingapi20.cpp index e24af197e..5738529da 100644 --- a/src/scrobbler/scrobblingapi20.cpp +++ b/src/scrobbler/scrobblingapi20.cpp @@ -85,7 +85,7 @@ ScrobblingAPI20::ScrobblingAPI20(const QString &name, const QString &settings_gr timer_submit_.setSingleShot(true); QObject::connect(&timer_submit_, &QTimer::timeout, this, &ScrobblingAPI20::Submit); - ReloadSettings(); + ScrobblingAPI20::ReloadSettings(); LoadSession(); } diff --git a/src/scrobbler/subsonicscrobbler.cpp b/src/scrobbler/subsonicscrobbler.cpp index fda56d37b..dce32d3b1 100644 --- a/src/scrobbler/subsonicscrobbler.cpp +++ b/src/scrobbler/subsonicscrobbler.cpp @@ -46,7 +46,7 @@ SubsonicScrobbler::SubsonicScrobbler(AudioScrobbler *scrobbler, SubsonicService enabled_(false), submitted_(false) { - ReloadSettings(); + SubsonicScrobbler::ReloadSettings(); timer_submit_.setSingleShot(true); QObject::connect(&timer_submit_, &QTimer::timeout, this, &SubsonicScrobbler::Submit);