diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-18 12:07:34 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-18 12:07:34 +0200 |
commit | fcda48e14aee987394e1dbfcd68687ef80f6d2ca (patch) | |
tree | 01aee0a74ced05220d2b796d8daf8477c024ad3e /lib/addressbar/urllineedit.h | |
parent | .desktop: add run with firejail action (diff) | |
download | smolbote-fcda48e14aee987394e1dbfcd68687ef80f6d2ca.tar.xz |
AddressBar: code cleanup
AddressBar: match input for protocol or '.' in addition to url validity
Diffstat (limited to 'lib/addressbar/urllineedit.h')
-rw-r--r-- | lib/addressbar/urllineedit.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/addressbar/urllineedit.h b/lib/addressbar/urllineedit.h index 2198a0e..56914c4 100644 --- a/lib/addressbar/urllineedit.h +++ b/lib/addressbar/urllineedit.h @@ -10,6 +10,7 @@ #define SMOLBOTE_URLLINEEDIT_H #include "completer.h" +#include "addressbar.h" #include <QAction> #include <QLineEdit> #include <QTextLayout> @@ -27,9 +28,6 @@ public slots: void updateCompleter(const QStringList &l); -signals: - void focusView(); - public: QAction *menuAction = nullptr; // pageMenu action: zoom, print @@ -52,6 +50,7 @@ private: // completer Completer *m_listView; + AddressBar *addressbar; }; #endif // SMOLBOTE_URLLINEEDIT_H |