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

List:       kde-commits
Subject:    kdenox/konq-embed/src
From:       Stefan Eilers <stefan.eilers () basyskom ! de>
Date:       2007-05-25 7:31:15
Message-ID: 1180078275.089854.9893.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 668141 by eilers:

Use configuration to disable auto completion of the history line. Use
"URLAutoCompletion" for this.


 M  +5 -2      urlcombo.cpp  


--- trunk/kdenox/konq-embed/src/urlcombo.cpp #668140:668141
@@ -91,7 +91,10 @@
         , m_justGotFocus( false )
 {
         focusProxy()->installEventFilter( this );
-        setAutoCompletion(true);
+        KConfig* config = KGlobal::config();
+        config->setGroup( "General" );
+
+        setAutoCompletion(config->readBoolEntry( "URLAutoCompletion", true ));
         setDuplicatesEnabled(false);
 
         // I need the information when the text in the internal QLineEdit was changed
@@ -144,7 +147,7 @@
                 new TrailingListItem( *it, listBox() );  
         }
 
-        listBox()->triggerUpdate( true );
+        listBox()->triggerUpdate( true );  
 }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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