aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/mainwindow.h
diff options
context:
space:
mode:
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