Ctrl+L

Nick Shaforostoff shafff at ukr.net
Tue Apr 14 19:38:21 BST 2009


Please review the following patch.
It makes Konqueror behaive on Ctrl+L like the rest: just select current text in address bar,
so that it can be easily copied or erased by typing (pasting) new one.

currently it removes the previous text and there is no way to have it back
(i.e. ctrl+z doesn't work)

also currently m_combo->clearTemporary(); is called two times during initialization
(directly and via slotClearLocationBar), and the patch fixes this.


Index: apps/konqueror/src/konqmainwindow.cpp
===================================================================
--- apps/konqueror/src/konqmainwindow.cpp       (revision 953909)
+++ apps/konqueror/src/konqmainwindow.cpp       (working copy)
@@ -3265,7 +3265,7 @@
 void KonqMainWindow::slotClearLocationBar()
 {
     slotStop();
-    m_combo->clearTemporary();
+    m_combo->lineEdit()->selectAll();
     focusLocationBar();
 }






More information about the kfm-devel mailing list