mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
Merge pull request #1861 from innermous/master
Fix a typo in add bookmark item function
This commit is contained in:
commit
2b618adb94
@ -189,7 +189,7 @@ void BookmarksToolbar::addItem(BookmarkItem* item)
|
|||||||
BookmarksToolbarButton* button = new BookmarksToolbarButton(item, this);
|
BookmarksToolbarButton* button = new BookmarksToolbarButton(item, this);
|
||||||
button->setMainWindow(m_window);
|
button->setMainWindow(m_window);
|
||||||
button->setShowOnlyIcon(m_bookmarks->showOnlyIconsInToolbar());
|
button->setShowOnlyIcon(m_bookmarks->showOnlyIconsInToolbar());
|
||||||
button->setShowOnlyIcon(m_bookmarks->showOnlyTextInToolbar());
|
button->setShowOnlyText(m_bookmarks->showOnlyTextInToolbar());
|
||||||
m_layout->addWidget(button);
|
m_layout->addWidget(button);
|
||||||
|
|
||||||
setFixedHeight(m_layout->spacing() * 2 + button->preferredHeight());
|
setFixedHeight(m_layout->spacing() * 2 + button->preferredHeight());
|
||||||
|
Loading…
Reference in New Issue
Block a user