1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

BookmarksToolbar: Fix setting correct minimum height

Closes #2588
This commit is contained in:
David Rosca 2018-02-03 10:16:11 +01:00
parent 4ad6d6cda1
commit 81e86d4a3c
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -213,6 +213,8 @@ void BookmarksToolbar::addItem(BookmarkItem* item)
button->setShowOnlyIcon(m_bookmarks->showOnlyIconsInToolbar()); button->setShowOnlyIcon(m_bookmarks->showOnlyIconsInToolbar());
button->setShowOnlyText(m_bookmarks->showOnlyTextInToolbar()); button->setShowOnlyText(m_bookmarks->showOnlyTextInToolbar());
m_layout->addWidget(button); m_layout->addWidget(button);
setMinimumHeight(minimumSizeHint().height());
} }
BookmarksToolbarButton* BookmarksToolbar::buttonAt(const QPoint &pos) BookmarksToolbarButton* BookmarksToolbar::buttonAt(const QPoint &pos)