summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser
diff options
context:
space:
mode:
authorEyad Hossam <eyadhossamm@gmail.com>2021-09-17 02:38:12 +0200
committerIdan Horowitz <idan.horowitz@gmail.com>2021-09-17 10:45:37 +0300
commitfe9e2f463c7feeccd14083ad06345b3cc5a3ac9e (patch)
tree1a0849b4fe200d96a32803a20f569ec82a3c3fb5 /Userland/Applications/Browser
parent20337a34a29b48d900ff91f8df623afc02f058f1 (diff)
downloadserenity-fe9e2f463c7feeccd14083ad06345b3cc5a3ac9e.zip
Browser: Remove redundant tab::view() call from the tab constructor
Diffstat (limited to 'Userland/Applications/Browser')
-rw-r--r--Userland/Applications/Browser/Tab.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp
index 22bdfba417..651550f690 100644
--- a/Userland/Applications/Browser/Tab.cpp
+++ b/Userland/Applications/Browser/Tab.cpp
@@ -132,7 +132,6 @@ Tab::Tab(BrowserWindow& window)
auto url = url_from_user_input(m_location_box->text());
load(url);
- view();
};
m_location_box->add_custom_context_menu_action(GUI::Action::create("Paste && Go", [this](auto&) {