diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 16:37:25 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 16:37:25 +0200 |
commit | 5152fc15d128821b842ade2c8fa7e2fcb16c0e94 (patch) | |
tree | 446658345a873ede716006bfe10d0470b8181aa8 /src/mainwindow/mainwindow.h | |
parent | Clear navigation bar and address bar when last subwindow is closed (diff) | |
download | smolbote-5152fc15d128821b842ade2c8fa7e2fcb16c0e94.tar.xz |
Search box works again
Diffstat (limited to 'src/mainwindow/mainwindow.h')
-rw-r--r-- | src/mainwindow/mainwindow.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow/mainwindow.h b/src/mainwindow/mainwindow.h index 38ab746..581cd0c 100644 --- a/src/mainwindow/mainwindow.h +++ b/src/mainwindow/mainwindow.h @@ -17,6 +17,7 @@ class QMdiArea; class Configuration; class Window; class AddressBar; +class SearchForm; class MainWindow : public QMainWindow { friend class Browser; @@ -47,13 +48,15 @@ protected: private: QString titleSuffix; QMenu *toolsMenu = nullptr; - AddressBar *addressBar; + AddressBar *addressBar = nullptr; + SearchForm *searchBox = nullptr; QMdiArea *mdiArea; std::shared_ptr<Configuration> m_config; QMetaObject::Connection titleChangedConnection; QMetaObject::Connection addressBarConnection, navigationBarConnection; + QMetaObject::Connection searchBoxConnection; }; #endif // SMOLBOTE_MAINWINDOW_H |