~ubuntu-branches/ubuntu/lucid/lastfm/lucid

« back to all changes in this revision

Viewing changes to src/wizardbootstrappage.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2008-07-14 16:46:20 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: james.westby@ubuntu.com-20080714164620-cattx7c83ihhnk4l
Tags: upstream-1.5.1.31879.dfsg
ImportĀ upstreamĀ versionĀ 1.5.1.31879.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
WizardBootstrapPage::onTrackFound( int percentage, const TrackInfo& track )
47
47
{
48
48
    uiProgress.progressBar->setValue( percentage );
49
 
    uiProgress.bottomLabel->setText( tr( "Found" ) + QString( ": %1 - %2" ).arg( track.artist() ).arg( track.track() ) );
 
49
    
 
50
    if ( !track.isEmpty() )
 
51
        uiProgress.bottomLabel->setText( tr( "Found" ) + QString( ": %1 - %2" )
 
52
            .arg( track.artist() ).arg( track.track() ) );
 
53
 
 
54
    qApp->processEvents();
50
55
}
51
56
 
52
57