mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 22:56:42 +02:00
* Update the button status while the import is ongoing.
This commit is contained in:
@@ -108,13 +108,9 @@ LastFmConfig::enableButton()
|
||||
void
|
||||
LastFmConfig::loadHistory()
|
||||
{
|
||||
if ( m_page == 1 )
|
||||
{
|
||||
m_ui->importHistory->setText( tr( "Importing History..." ) );
|
||||
m_ui->importHistory->setEnabled( false );
|
||||
|
||||
m_ui->progressBar->show();
|
||||
}
|
||||
|
||||
QNetworkReply* reply = lastfm::User( m_ui->username->text().toLower() ).getRecentTracks( 200, m_page );
|
||||
connect( reply, SIGNAL( finished() ), SLOT( onHistoryLoaded() ) );
|
||||
|
Reference in New Issue
Block a user