From 426151664c6d81a1db0b95bb61a6e30feb2c9df3 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 24 Dec 2017 17:16:23 +0100 Subject: Address bar menu now reads entries from the bookmarks --- src/lib/navigation/urllineedit.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/navigation/urllineedit.h') diff --git a/src/lib/navigation/urllineedit.h b/src/lib/navigation/urllineedit.h index cef0830..1eea1ef 100644 --- a/src/lib/navigation/urllineedit.h +++ b/src/lib/navigation/urllineedit.h @@ -16,11 +16,12 @@ class QMenu; class QLabel; +class MainWindow; class UrlLineEdit : public QLineEdit { Q_OBJECT public: - explicit UrlLineEdit(QWidget *parent = nullptr); + explicit UrlLineEdit(MainWindow *window, QWidget *parent = nullptr); QAction *sslAction(); QAction *pageAction(); @@ -47,6 +48,7 @@ private: QTextLayout::FormatRange m_hostFormat; + MainWindow *m_window; QAction *m_sslAction = nullptr; QAction *m_pageAction = nullptr; -- cgit v1.2.1