From kde-commits Mon Aug 31 21:44:00 2009 From: Martin Koller Date: Mon, 31 Aug 2009 21:44:00 +0000 To: kde-commits Subject: branches/KDE/4.3/kdepim/kmail Message-Id: <1251755040.617907.23865.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125175505024412 SVN commit 1017920 by mkoller: Backport r1017919 by mkoller from trunk to the 4.3 branch: CCBUG: 205448 find a better compromise between search speed and responseness of the ui (empirical result) M +1 -1 folderstorage.cpp --- branches/KDE/4.3/kdepim/kmail/folderstorage.cpp #1017919:1017920 @@ -1173,7 +1173,7 @@ if ( !mSearchPattern ) return; QList matchingSerNums; - const int end = qMin( mCurrentSearchedMsg + 100, count() ); + const int end = qMin( mCurrentSearchedMsg + 10, count() ); for ( int i = mCurrentSearchedMsg; i < end; ++i ) { quint32 serNum = KMMsgDict::instance()->getMsgSerNum( folder(), i );