aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 16:37:25 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-04-17 16:37:25 +0200
commit5152fc15d128821b842ade2c8fa7e2fcb16c0e94 (patch)
tree446658345a873ede716006bfe10d0470b8181aa8 /src/mainwindow/mainwindow.h
parentClear navigation bar and address bar when last subwindow is closed (diff)
downloadsmolbote-5152fc15d128821b842ade2c8fa7e2fcb16c0e94.tar.xz
Search box works again
Diffstat (limited to 'src/mainwindow/mainwindow.h')
-rw-r--r--src/mainwindow/mainwindow.h5
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