aboutsummaryrefslogtreecommitdiff
path: root/src/addressbar/urllineedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/addressbar/urllineedit.h')
-rw-r--r--src/addressbar/urllineedit.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/addressbar/urllineedit.h b/src/addressbar/urllineedit.h
index 17465bc..24ad403 100644
--- a/src/addressbar/urllineedit.h
+++ b/src/addressbar/urllineedit.h
@@ -9,15 +9,16 @@
#ifndef SMOLBOTE_URLLINEEDIT_H
#define SMOLBOTE_URLLINEEDIT_H
+#include "completer.h"
+#include "webengine/webview.h"
#include <QAction>
#include <QLineEdit>
#include <QTextLayout>
-#include "webengine/webview.h"
-#include "completer.h"
class BookmarksView;
class QMenu;
class QLabel;
+class WebView;
class UrlLineEdit : public QLineEdit
{
Q_OBJECT
@@ -45,6 +46,8 @@ private:
void setTextFormat(const QTextLayout::FormatRange &format);
void clearTextFormat();
+ WebView *m_view = nullptr;
+
QTextLayout::FormatRange m_hostFormat;
// pageMenu action: zoom, print