1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Merge pull request #1861 from innermous/master

Fix a typo in add bookmark item function
This commit is contained in:
David Rosca 2016-02-18 19:36:42 +01:00
commit 2b618adb94

View File

@ -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());