aboutsummaryrefslogtreecommitdiff
path: root/src/lib/navigation/urllineedit.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-24 17:16:23 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-24 17:16:23 +0100
commit426151664c6d81a1db0b95bb61a6e30feb2c9df3 (patch)
treed759d7dd0302d45bd0beb827e0e9d5a011ad246c /src/lib/navigation/urllineedit.h
parentRequest filter now properly takes hostlists (diff)
downloadsmolbote-426151664c6d81a1db0b95bb61a6e30feb2c9df3.tar.xz
Address bar menu now reads entries from the bookmarks
Diffstat (limited to 'src/lib/navigation/urllineedit.h')
-rw-r--r--src/lib/navigation/urllineedit.h4
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;