Make const
This commit is contained in:
@@ -206,7 +206,7 @@ void CoversSettingsPage::DisableAuthentication() {
|
||||
|
||||
}
|
||||
|
||||
void CoversSettingsPage::DisconnectAuthentication(CoverProvider *provider) {
|
||||
void CoversSettingsPage::DisconnectAuthentication(CoverProvider *provider) const {
|
||||
|
||||
QObject::disconnect(provider, &CoverProvider::AuthenticationFailure, this, &CoversSettingsPage::AuthenticationFailure);
|
||||
QObject::disconnect(provider, &CoverProvider::AuthenticationSuccess, this, &CoversSettingsPage::AuthenticationSuccess);
|
||||
|
||||
@@ -50,7 +50,7 @@ class CoversSettingsPage : public SettingsPage {
|
||||
void NoProviderSelected();
|
||||
void ProvidersMove(const int d);
|
||||
void DisableAuthentication();
|
||||
void DisconnectAuthentication(CoverProvider *provider);
|
||||
void DisconnectAuthentication(CoverProvider *provider) const;
|
||||
static bool ProviderCompareOrder(CoverProvider *a, CoverProvider *b);
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -196,7 +196,7 @@ void LyricsSettingsPage::DisableAuthentication() {
|
||||
|
||||
}
|
||||
|
||||
void LyricsSettingsPage::DisconnectAuthentication(LyricsProvider *provider) {
|
||||
void LyricsSettingsPage::DisconnectAuthentication(LyricsProvider *provider) const {
|
||||
|
||||
QObject::disconnect(provider, &LyricsProvider::AuthenticationFailure, this, &LyricsSettingsPage::AuthenticationFailure);
|
||||
QObject::disconnect(provider, &LyricsProvider::AuthenticationSuccess, this, &LyricsSettingsPage::AuthenticationSuccess);
|
||||
|
||||
@@ -50,7 +50,7 @@ class LyricsSettingsPage : public SettingsPage {
|
||||
void NoProviderSelected();
|
||||
void ProvidersMove(const int d);
|
||||
void DisableAuthentication();
|
||||
void DisconnectAuthentication(LyricsProvider *provider);
|
||||
void DisconnectAuthentication(LyricsProvider *provider) const;
|
||||
static bool ProviderCompareOrder(LyricsProvider *a, LyricsProvider *b);
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user