diff options
Diffstat (limited to 'src/mainwindow/widgets')
-rw-r--r-- | src/mainwindow/widgets/navigationbar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainwindow/widgets/navigationbar.cpp b/src/mainwindow/widgets/navigationbar.cpp index c56d342..e77ce6d 100644 --- a/src/mainwindow/widgets/navigationbar.cpp +++ b/src/mainwindow/widgets/navigationbar.cpp @@ -18,6 +18,7 @@ #include <QToolBar> #include <QToolButton> #include <QWebEngineHistory> +#include "webprofile.h" NavigationBar::NavigationBar(const Configuration *config, QWidget *parent) : QToolBar(parent) @@ -97,7 +98,7 @@ NavigationBar::NavigationBar(const Configuration *config, QWidget *parent) homeAction = addAction(Util::icon(QStyle::SP_DirHomeIcon), tr("Home")); config->setShortcut(homeAction, "navigation.shortcuts.home"); connect(homeAction, &QAction::triggered, this, [this]() { - m_view->triggerViewAction(WebView::GoHome); + m_view->load(m_view->profile()->homepage()); }); } |