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