Commit 93953ef2 authored by Pino Toscano's avatar Pino Toscano

use the kde toolbar font for the text in the sidebar

svn path=/trunk/KDE/kdegraphics/okular/; revision=955952
parent 8a6422f6
......@@ -24,6 +24,7 @@
#include <qsplitter.h>
#include <qstackedwidget.h>
#include <kglobalsettings.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kmenu.h>
......@@ -380,6 +381,7 @@ 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 );
......
Markdown is supported
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