1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-21 05:11:44 +02:00

dead code--

This commit is contained in:
Leo Franchi
2012-04-14 23:49:47 -04:00
parent 64ba0b5d7c
commit 794bcc6fb1

View File

@@ -156,16 +156,6 @@ SpotifyAccountConfig::loginResponse( bool success, const QString& msg )
}
/*
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::resetLoginButton()
{
@@ -173,21 +163,3 @@ SpotifyAccountConfig::resetLoginButton()
m_ui->loginButton->setEnabled( true );
}
/*
void
SpotifyAccountConfig::verifyResult( const QString& msgType, const QVariantMap& msg )
{
const bool success = msg.value( "success" ).toBool();
const QString message = msg.value( "message" ).toString();
m_resetTimer.stop();
if ( success )
m_ui->verifyCreds->setText( tr( "Success!" ) );
else
{
m_ui->verifyCreds->setText( tr( "Failed!" ) );
m_ui->verifyCreds->setEnabled( true );
m_ui->verifyCreds->setToolTip( message );
}
}*/