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

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

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<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