[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.3/kdepim/kmail
From:       Martin Koller <kollix () aon ! at>
Date:       2009-08-31 21:44:00
Message-ID: 1251755040.617907.23865.nullmailer () svn ! kde ! org
[Download RAW message or body]

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<quint32> 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 );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic