From 9e75098d885aafe79ff3cec5ed114938d60ccb2e Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 2 Jan 2019 21:44:25 +0100 Subject: Update license year --- src/mainwindow/widgets/navigationbar.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainwindow') 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 #include #include +#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()); }); } -- cgit v1.2.1