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

List:       kde-commits
Subject:    branches/KDE/3.4/kdelibs/kdeui
From:       Till Adam <adam () kde ! org>
Date:       2005-06-12 14:09:08
Message-ID: 1118585348.269497.16023.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 424606 by tilladam:

Backport of:

SVN commit 424591 by tilladam:

Don't reparse the full KGlobal configuration (which takes around 2
seconds here) each time a KDictSpellingHighlighter is instantiated,
which is everytime a KMail composer is opened. The only key that is
read there is a hidden, undocumented, non-gui-accesible tuning key,
so there is zero probability of it changing under us by any means
but direct editing of the config file. In that case the user can
reasonably be expected to restart the application, especially if it
means that starting a composer KMail becomes instantaneous again,
for all users.

Ok'd by Waldo and Zack.


 M  +0 -1      ksyntaxhighlighter.cpp  


--- branches/KDE/3.4/kdelibs/kdeui/ksyntaxhighlighter.cpp #424605:424606
@@ -291,7 +291,6 @@
 
     KConfig *config = KGlobal::config();
     KConfigGroupSaver cs( config, "KSpell" );
-    config->reparseConfiguration();
     d->disablePercentage = config->readNumEntry( "KSpell_AsYouTypeDisablePercentage", 42 );
     d->disablePercentage = QMIN( d->disablePercentage, 101 );
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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