1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Selecting all the contents of the WebSearchBar when receiving focus from

keyboard (i.e., Ctrl+K).
This commit is contained in:
Daniele Cocca 2011-10-15 00:15:29 +02:00
parent 73d11206ae
commit f16e29b8be

View File

@ -104,6 +104,8 @@ void WebSearchBar::focusInEvent(QFocusEvent* e)
if (text() == search) {
clear();
} else {
selectAll();
}
QLineEdit::focusInEvent(e);
}