mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Ladybird: Add placeholder to LocationEdit
This commit is contained in:
parent
500552df54
commit
fb445fc523
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
LocationEdit::LocationEdit(QWidget* parent)
|
||||
: QLineEdit(parent)
|
||||
{
|
||||
setPlaceholderText("Enter web address");
|
||||
connect(this, &QLineEdit::returnPressed, this, [&] {
|
||||
clearFocus();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue