diff --git a/src/accounts/spotify/SpotifyAccountConfig.cpp b/src/accounts/spotify/SpotifyAccountConfig.cpp index 571012a72..2b2ffbd2f 100644 --- a/src/accounts/spotify/SpotifyAccountConfig.cpp +++ b/src/accounts/spotify/SpotifyAccountConfig.cpp @@ -124,6 +124,15 @@ SpotifyAccountConfig::verifyLogin() void SpotifyAccountConfig::resetVerifyButton() +{ + m_ui->verifyCreds->setText( tr( "Failed!" ) ); + m_ui->verifyCreds->setEnabled( true ); + m_ui->verifyCreds->setToolTip( tr( "No response from Spotify, bad credentials likely." ) ); +} + + +void +SpotifyAccountConfig::clearVerifyButton() { m_ui->verifyCreds->setText( tr( "Verify" ) ); m_ui->verifyCreds->setEnabled( true ); diff --git a/src/accounts/spotify/SpotifyAccountConfig.h b/src/accounts/spotify/SpotifyAccountConfig.h index 3afcabdcf..3cb0af944 100644 --- a/src/accounts/spotify/SpotifyAccountConfig.h +++ b/src/accounts/spotify/SpotifyAccountConfig.h @@ -57,6 +57,7 @@ public slots: private slots: void verifyLogin(); void resetVerifyButton(); + void clearVerifyButton(); private: Ui::SpotifyConfig* m_ui;