summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 14:52:54 (GMT)
committerMartin T. H. Sandsmark <martin.sandsmark@kde.org>2016-07-24 14:52:54 (GMT)
commit06edec49fd681cb6abe024df65d66b06f45dbf8f (patch)
tree004800a69cdc26955164d2bc83a8ae6b2afeafcd
parent76b976f87e806b7eb9f7dc56da4efe7e79832694 (diff)
Don't use the toolbar font for the sidebar, toolbar != sidebar
For reference, not even Konqueror uses the toolBarFont() for its sidebar. In fact, this seems to be the only usage of toolBarFont() I could find in any KDE application.
-rw-r--r--ui/sidebar.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/sidebar.cpp b/ui/sidebar.cpp
index 8586b1f..72803d8 100644
--- a/ui/sidebar.cpp
+++ b/ui/sidebar.cpp
@@ -476,7 +476,6 @@ Sidebar::Sidebar( QWidget *parent )
d->list->setVerticalScrollBarPolicy( Qt::ScrollBarAlwaysOff );
d->list->setContextMenuPolicy( Qt::CustomContextMenu );
d->list->viewport()->setAutoFillBackground( false );
- d->list->setFont( KGlobalSettings::toolBarFont() );
d->splitter = new QSplitter( this );
mainlay->addWidget( d->splitter );