mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-22 05:33:32 +02:00
Fix test when timeout fails
This commit is contained in:
@@ -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 );
|
||||
|
@@ -57,6 +57,7 @@ public slots:
|
||||
private slots:
|
||||
void verifyLogin();
|
||||
void resetVerifyButton();
|
||||
void clearVerifyButton();
|
||||
|
||||
private:
|
||||
Ui::SpotifyConfig* m_ui;
|
||||
|
Reference in New Issue
Block a user