From kde-commits Mon Aug 31 21:43:18 2009 From: Martin Koller Date: Mon, 31 Aug 2009 21:43:18 +0000 To: kde-commits Subject: KDE/kdepim/kmail Message-Id: <1251754998.695780.23695.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=125175501224361 SVN commit 1017919 by mkoller: BUG: 205448 find a better compromise between search speed and responseness of the ui (empirical result) M +1 -1 folderstorage.cpp --- trunk/KDE/kdepim/kmail/folderstorage.cpp #1017918:1017919 @@ -1175,7 +1175,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 );