Fix toplevel bookmarks not showing in toolbar

regression from d1963e23
This commit is contained in:
Bernd Buschinski 2013-09-04 16:23:35 +02:00
parent d85e92fc8c
commit 43a981481a

View file

@ -184,10 +184,12 @@ void KBookmarkBar::fillBookmarkBar(const KBookmarkGroup & parent)
if (!bm.isGroup())
{
if ( bm.isSeparator() )
if ( bm.isSeparator() )
{
if (m_toolBar) {
m_toolBar->addSeparator();
}
}
else
{
KAction *action = new KBookmarkAction( bm, m_pOwner, 0 );