diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 11:12:44 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-17 11:12:44 +0200 |
commit | e78d3cc07f4b29518c4ebe15e3ab56c73c4cace5 (patch) | |
tree | 9c64aa396fcca4ba87b7fa05de13546d9c4c27a4 /src/webengine/webprofile.h | |
parent | Enabled address bar suggestions (diff) | |
download | smolbote-e78d3cc07f4b29518c4ebe15e3ab56c73c4cace5.tar.xz |
Address bar searches work again
Diffstat (limited to 'src/webengine/webprofile.h')
-rw-r--r-- | src/webengine/webprofile.h | 6 |
1 files changed, 5 insertions, 1 deletions
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<QString, QString> conf, const QString &path); + void loadProfile(QHash<QString, QString> 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"); }; |