diff options
Diffstat (limited to 'src/lib/navigation/urllineedit.h')
-rw-r--r-- | src/lib/navigation/urllineedit.h | 4 |
1 files changed, 3 insertions, 1 deletions
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; |