diff options
-rw-r--r-- | src/bookmarks/bookmarkstoolbar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bookmarks/bookmarkstoolbar.cpp b/src/bookmarks/bookmarkstoolbar.cpp index 11dd712..55710ca 100644 --- a/src/bookmarks/bookmarkstoolbar.cpp +++ b/src/bookmarks/bookmarkstoolbar.cpp @@ -15,6 +15,7 @@ BookmarksToolbar::BookmarksToolbar(const BookmarkModel *model, MainWindow *paren : QToolBar(parent) { m_window = parent; + setToolButtonStyle(Qt::ToolButtonTextBesideIcon); const auto *root = model->root(); for(int i = 0; i < root->childCount(); ++i) { @@ -52,7 +53,7 @@ void BookmarksToolbar::addFolder(const BookmarkItem *item, QMenu *where) else if(child->type() == BookmarkItem::Folder) { auto *action = addAction(child->data(BookmarkItem::Title).toString()); - //action->setIcon(child->icon()); + action->setIcon(child->icon()); auto *menu = new QMenu(this); addFolder(child, menu); |