Forward port of SVN commit 488792 by toma:

Make the time before showing the splash when opening a mailfolder on imap configurable in the ini.

svn path=/trunk/KDE/kdepim/; revision=488806
wilder-work
Ingo Klcker 21 years ago
parent fa189a1645
commit 270941b29b
  1. 5
      kmail.kcfg
  2. 4
      kmmainwidget.cpp

@ -109,8 +109,9 @@
<default>0</default>
<min>0</min>
</entry>
<entry name="FolderLoadingTimeout" type="Int" hidden="true">
<default>1000</default>
</entry>
</group>
<!-- General -->

@ -1800,10 +1800,10 @@ void KMMainWidget::folderSelected( KMFolder* aFolder, bool forceJumpToUnread )
mForceJumpToUnread = forceJumpToUnread;
// Set a timer to show a splash screen if fetching folder contents
// takes more than a second
// takes more than the amount of seconds configured in the kmailrc (default 1000 msec)
mShowBusySplashTimer = new QTimer( this );
connect( mShowBusySplashTimer, SIGNAL( timeout() ), this, SLOT( slotShowBusySplash() ) );
mShowBusySplashTimer->start( 1000, true );
mShowBusySplashTimer->start( GlobalSettings::self()->folderLoadingTimeout(), true );
return;
} else {
// the folder is complete now - so go ahead

Loading…
Cancel
Save