~ubuntu-branches/ubuntu/quantal/kdevplatform/quantal-proposed

« back to all changes in this revision

Viewing changes to shell/progresswidget.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-09-03 19:38:03 UTC
  • mfrom: (0.3.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100903193803-5hovukzkuu36ul4f
Tags: 1.0.2-0ubuntu1
* New upstream release
  - Don't ship kdevplatform-l10n-de, German translation is missing from
    upstream, German dropped below the threshold of translated strings

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
    delete mBusyTimer;
117
117
    mBusyTimer = 0;
118
118
    mDelayTimer->setSingleShot( true );
119
 
    mDelayTimer->start( 1000 );
 
119
    mDelayTimer->start( 500 );
120
120
  }
121
121
  else { // N items
122
122
    if ( !mBusyTimer ) {
124
124
      connect( mBusyTimer, SIGNAL( timeout() ),
125
125
               this, SLOT( slotBusyIndicator() ) );
126
126
      mDelayTimer->setSingleShot( true );
127
 
      mDelayTimer->start( 1000 );
 
127
      mDelayTimer->start( 500 );
128
128
    }
129
129
  }
130
130
}
199
199
void StatusbarProgressWidget::slotProgressItemProgress( ProgressItem *item, unsigned int value )
200
200
{
201
201
  Q_ASSERT( item == mCurrentItem ); // the only one we should be connected to
202
 
  show();
203
202
  if( item->busy() ) {
204
203
    m_pProgressBar->setMaximum( 0 );
205
204
  } else {