diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-18 21:42:42 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-18 21:42:42 +0300 |
commit | 0b167726780aac72379a444e16149b84c40d2458 (patch) | |
tree | a2bed6c17f46e3ae02920dd4554c05c71232d311 /src/panels/navigationtoolbar.cpp | |
parent | Fix compiler warnings (diff) | |
download | rekonq-0b167726780aac72379a444e16149b84c40d2458.tar.xz |
Remove UrlBar::loadRequestedUrl slot
Diffstat (limited to 'src/panels/navigationtoolbar.cpp')
-rw-r--r-- | src/panels/navigationtoolbar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panels/navigationtoolbar.cpp b/src/panels/navigationtoolbar.cpp index ae55ac02..950efaad 100644 --- a/src/panels/navigationtoolbar.cpp +++ b/src/panels/navigationtoolbar.cpp @@ -20,6 +20,8 @@ NavigationToolBar::NavigationToolBar(QWidget *parent) : QToolBar(parent), urlBar // TODO homeAction->setObjectName("actionHome"); addWidget(urlBar); + connect(urlBar, &QLineEdit::returnPressed, this, + [this]() { emit loadRequestedUrl(QUrl::fromUserInput(urlBar->text()), rekonq::CurrentTab); }); auto *actionFocusUrlBar = new QAction(parent); actionFocusUrlBar->setShortcut({"F6"}); |