mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
Ladybird: Make LocationEdit its own class
Also make return key behave more like other browsers when editing
This commit is contained in:
parent
926e61dec6
commit
b97f9f5809
5 changed files with 39 additions and 2 deletions
19
Ladybird/LocationEdit.h
Normal file
19
Ladybird/LocationEdit.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Cameron Youell <cameronyouell@gmail.com>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define AK_DONT_REPLACE_STD
|
||||
|
||||
#include <QLineEdit>
|
||||
|
||||
class Tab;
|
||||
|
||||
class LocationEdit final : public QLineEdit {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit LocationEdit(Tab*);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue