mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00: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)
|
LocationEdit::LocationEdit(QWidget* parent)
|
||||||
: QLineEdit(parent)
|
: QLineEdit(parent)
|
||||||
{
|
{
|
||||||
|
setPlaceholderText("Enter web address");
|
||||||
connect(this, &QLineEdit::returnPressed, this, [&] {
|
connect(this, &QLineEdit::returnPressed, this, [&] {
|
||||||
clearFocus();
|
clearFocus();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue