Ladybird: Add placeholder to LocationEdit

This commit is contained in:
Rafał Babiarz 2023-05-20 17:46:19 +02:00 committed by Andrew Kaster
parent 500552df54
commit fb445fc523

View file

@ -15,6 +15,7 @@
LocationEdit::LocationEdit(QWidget* parent)
: QLineEdit(parent)
{
setPlaceholderText("Enter web address");
connect(this, &QLineEdit::returnPressed, this, [&] {
clearFocus();
});