Commit 06edec49 authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Don't use the toolbar font for the sidebar, toolbar != sidebar

For reference, not even Konqueror uses the toolBarFont() for its

In fact, this seems to be the only usage of toolBarFont() I could find
in any KDE application.
parent 76b976f8
...@@ -476,7 +476,6 @@ Sidebar::Sidebar( QWidget *parent ) ...@@ -476,7 +476,6 @@ Sidebar::Sidebar( QWidget *parent )
d->list->setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOff ); d->list->setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
d->list->setContextMenuPolicy( Qt::CustomContextMenu ); d->list->setContextMenuPolicy( Qt::CustomContextMenu );
d->list->viewport()->setAutoFillBackground( false ); d->list->viewport()->setAutoFillBackground( false );
d->list->setFont( KGlobalSettings::toolBarFont() );
d->splitter = new QSplitter( this ); d->splitter = new QSplitter( this );
mainlay->addWidget( d->splitter ); mainlay->addWidget( d->splitter );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment