Make const

This commit is contained in:
Jonas Kvinge
2021-06-22 13:45:29 +02:00
parent 8c2b907ff5
commit 58a5367015
33 changed files with 78 additions and 78 deletions

View File

@@ -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);

View File

@@ -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:

View File

@@ -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);

View File

@@ -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: