From e78d3cc07f4b29518c4ebe15e3ab56c73c4cace5 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 17 Apr 2018 11:12:44 +0200 Subject: Address bar searches work again --- src/webengine/webprofile.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/webengine/webprofile.h') diff --git a/src/webengine/webprofile.h b/src/webengine/webprofile.h index 41d1aec..1668067 100644 --- a/src/webengine/webprofile.h +++ b/src/webengine/webprofile.h @@ -34,11 +34,14 @@ public: } QString name() const; + QString search() const { + return m_search; + } QUrl homepage() const; QUrl newtab() const; public slots: - void loadProfile(QHash conf, const QString &path); + void loadProfile(QHash conf); void saveProfile(const QString &path = QString()); private: @@ -46,6 +49,7 @@ private: QString m_configPath; QString m_name; + QString m_search = QString("about:blank"); QUrl m_homepage = QUrl("about:blank"); QUrl m_newtab = QUrl("about:blank"); }; -- cgit v1.2.1