mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-21 16:29:43 +01:00
* Update the button status while the import is ongoing.
This commit is contained in:
parent
ac8703c9e7
commit
2558202a52
@ -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();
|
||||
}
|
||||
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() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user