From 441e13c74db3b46355a2a96985c634d4c93bbb74 Mon Sep 17 00:00:00 2001 From: Tom Albers Date: Thu, 15 Dec 2005 22:20:06 +0000 Subject: [PATCH] Make the time before showing the splash when opening a mailfolder on imap configurable in the ini. BUG: 116773 svn path=/branches/KDE/3.5/kdepim/; revision=488792 --- kmail.kcfg | 3 +++ kmmainwidget.cpp | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/kmail.kcfg b/kmail.kcfg index 957a504b0..1428258fd 100644 --- a/kmail.kcfg +++ b/kmail.kcfg @@ -109,6 +109,9 @@ 0 0 + diff --git a/kmmainwidget.cpp b/kmmainwidget.cpp index 924be9fc7..18956a216 100644 --- a/kmmainwidget.cpp +++ b/kmmainwidget.cpp @@ -1787,10 +1787,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