From d6101a83cad797e80ade602662878378ee0f2306 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 30 Jan 2017 15:37:30 +0100 Subject: Added UrlLineEdit class Address bar should highlight the host name WebView widget should now be focused on startup instead of the address bar Added names to the toolbars to make their context menu useful Tabs now have a set width of 200 --- src/mainwindow.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index e4c1a1f..4a7455a 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -23,7 +23,7 @@ #include #include -#include +#include "widgets/urllineedit.h" #include #include "webengine/webengineprofile.h" #include @@ -61,7 +61,6 @@ private slots: void handleNewWindow(const QUrl &url = QUrl("")); void handleTabChanged(QWebEngineView *view); void handleUrlChanged(); - void handleUrlUpdated(const QUrl &url); void handleTitleUpdated(const QString &title); private: @@ -75,7 +74,7 @@ private: Ui::MainWindow *ui; QToolBar *navigationToolBar, *tabToolBar; WebViewTabBar *tabBar; - QLineEdit *urlLineEdit; + UrlLineEdit *urlLineEdit; }; #endif // MAINWINDOW_H -- cgit v1.2.1