mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
17 lines
309 B
C++
17 lines
309 B
C++
|
/*
|
||
|
* Copyright (c) 2023, Cameron Youell <cameronyouell@gmail.com>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include "LocationEdit.h"
|
||
|
#include "Tab.h"
|
||
|
|
||
|
LocationEdit::LocationEdit(Tab* tab)
|
||
|
: QLineEdit(tab)
|
||
|
{
|
||
|
connect(this, &QLineEdit::returnPressed, this, [&] {
|
||
|
clearFocus();
|
||
|
});
|
||
|
}
|