aboutsummaryrefslogtreecommitdiff
path: root/src/browser.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-15 22:58:20 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-15 22:58:20 +0200
commitc407c15457b24cfcd85c32cb62473489645858f7 (patch)
tree035535c86de7dd39e79fcb2284d5b9628b44ea9c /src/browser.h
parentSubWindow: delete views right away when closing tab (diff)
downloadsmolbote-c407c15457b24cfcd85c32cb62473489645858f7.tar.xz
Bookmarks manager bugfixes
WebProfile: remove addBookmark signal and member Bookmarks: remove unused '...' button Bookmarks: stop crashing if there's no selected item Bookmarks: activating an item will only open it if it's a bookmark Bookmarks: change header size split
Diffstat (limited to 'src/browser.h')
-rw-r--r--src/browser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/browser.h b/src/browser.h
index e6b94e4..8148e99 100644
--- a/src/browser.h
+++ b/src/browser.h
@@ -36,6 +36,11 @@ public:
void setConfiguration(std::shared_ptr<Configuration> &config);
void setup(const QString &defaultProfile);
+ std::shared_ptr<BookmarksWidget> bookmarks()
+ {
+ return m_bookmarks;
+ }
+
WebProfile *profile(const QString &name) const;
const QStringList profiles() const
{