From 2a6cd7764c7860ab3394443da4d7c483716e4364 Mon Sep 17 00:00:00 2001 From: Vladislav Tronko Date: Thu, 18 Feb 2016 20:32:32 +0200 Subject: [PATCH] Fix a typo in add bookmark item function --- src/lib/bookmarks/bookmarkstoolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/bookmarks/bookmarkstoolbar.cpp b/src/lib/bookmarks/bookmarkstoolbar.cpp index b91f611ee..c13a7a691 100644 --- a/src/lib/bookmarks/bookmarkstoolbar.cpp +++ b/src/lib/bookmarks/bookmarkstoolbar.cpp @@ -189,7 +189,7 @@ void BookmarksToolbar::addItem(BookmarkItem* item) BookmarksToolbarButton* button = new BookmarksToolbarButton(item, this); button->setMainWindow(m_window); button->setShowOnlyIcon(m_bookmarks->showOnlyIconsInToolbar()); - button->setShowOnlyIcon(m_bookmarks->showOnlyTextInToolbar()); + button->setShowOnlyText(m_bookmarks->showOnlyTextInToolbar()); m_layout->addWidget(button); setFixedHeight(m_layout->spacing() * 2 + button->preferredHeight());