mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Revert "* Show Last.fm login test button on OSX again."
This reverts commit 7c5a4065df
.
This commit is contained in:
@@ -169,6 +169,10 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
ui->lineEditLastfmPassword->setText(s->lastFmPassword() );
|
ui->lineEditLastfmPassword->setText(s->lastFmPassword() );
|
||||||
connect( ui->pushButtonTestLastfmLogin, SIGNAL( clicked( bool) ), SLOT( testLastFmLogin() ) );
|
connect( ui->pushButtonTestLastfmLogin, SIGNAL( clicked( bool) ), SLOT( testLastFmLogin() ) );
|
||||||
|
|
||||||
|
#ifdef Q_WS_MAC // FIXME
|
||||||
|
ui->pushButtonTestLastfmLogin->setVisible( false );
|
||||||
|
#endif
|
||||||
|
|
||||||
// SCRIPT RESOLVER
|
// SCRIPT RESOLVER
|
||||||
ui->removeScript->setEnabled( false );
|
ui->removeScript->setEnabled( false );
|
||||||
ResolverConfigDelegate* del = new ResolverConfigDelegate( this );
|
ResolverConfigDelegate* del = new ResolverConfigDelegate( this );
|
||||||
@@ -413,7 +417,7 @@ SettingsDialog::testLastFmLogin()
|
|||||||
|
|
||||||
// ensure they have up-to-date settings
|
// ensure they have up-to-date settings
|
||||||
lastfm::setNetworkAccessManager( TomahawkUtils::nam() );
|
lastfm::setNetworkAccessManager( TomahawkUtils::nam() );
|
||||||
|
|
||||||
QNetworkReply* authJob = lastfm::ws::post( query );
|
QNetworkReply* authJob = lastfm::ws::post( query );
|
||||||
|
|
||||||
connect( authJob, SIGNAL( finished() ), SLOT( onLastFmFinished() ) );
|
connect( authJob, SIGNAL( finished() ), SLOT( onLastFmFinished() ) );
|
||||||
|
Reference in New Issue
Block a user