1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:57:34 +00:00

Ladybird: Make LocationEdit its own class

Also make return key behave more like other browsers when editing
This commit is contained in:
Cameron Youell 2023-01-19 01:12:13 +11:00 committed by Andrew Kaster
parent 926e61dec6
commit b97f9f5809
5 changed files with 39 additions and 2 deletions

19
Ladybird/LocationEdit.h Normal file
View 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*);
};