mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Show Last.fm login test button on OSX again.
This commit is contained in:
@@ -169,10 +169,6 @@ 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 );
|
||||||
@@ -417,7 +413,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