[kde-doc-english] KDE/kdebase/apps/konqueror/src

David Faure faure at kde.org
Fri Feb 26 14:25:35 CET 2010


SVN commit 1096306 by dfaure:

GUI: Make substring completion available again in konqueror's location bar; ever since Ctrl+T was
added for "new tab", substring completion didn't work anymore. I chose F7, for lack of a better
idea and available shortcut, better suggestions welcome.
CCMAIL: lueck at hube-lueck.de


 M  +5 -0      konqcombo.cpp  


--- trunk/KDE/kdebase/apps/konqueror/src/konqcombo.cpp #1096305:1096306
@@ -164,6 +164,11 @@
     setAutoDeleteCompletionObject( false );
     setCompletionMode( completion->completionMode() );
 
+    // We use Ctrl+T for new tab, so we need something else for substring completion
+    // TODO: how to make that shortcut configurable? If we add a KAction we need to
+    // call the KLineEdit code, which we can't do. Well, we could send a keyevent...
+    setKeyBinding(KCompletionBase::SubstringCompletion, KShortcut(Qt::Key_F7));
+
     loadItems();
 }
 



More information about the kde-doc-english mailing list