From 794bcc6fb1324bf943e08ff1f4d1d2872ca29570 Mon Sep 17 00:00:00 2001 From: Leo Franchi Date: Sat, 14 Apr 2012 23:49:47 -0400 Subject: [PATCH] dead code-- --- src/accounts/spotify/SpotifyAccountConfig.cpp | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/src/accounts/spotify/SpotifyAccountConfig.cpp b/src/accounts/spotify/SpotifyAccountConfig.cpp index 4cbbf0369..0754ce8a2 100644 --- a/src/accounts/spotify/SpotifyAccountConfig.cpp +++ b/src/accounts/spotify/SpotifyAccountConfig.cpp @@ -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 ); - } -}*/