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

Fix a typo in add bookmark item function

This commit is contained in:
Vladislav Tronko 2016-02-18 20:32:32 +02:00
parent b97029eb50
commit 2a6cd7764c

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