1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:27:43 +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

View file

@ -9,6 +9,7 @@
#define AK_DONT_REPLACE_STD
#include "LocationEdit.h"
#include "WebContentView.h"
#include <Browser/History.h>
#include <QBoxLayout>
@ -55,7 +56,7 @@ private:
QBoxLayout* m_layout;
QToolBar* m_toolbar { nullptr };
QLineEdit* m_location_edit { nullptr };
LocationEdit* m_location_edit { nullptr };
WebContentView* m_view { nullptr };
BrowserWindow* m_window { nullptr };
Browser::History m_history;