the text color needs to be adapted to the color scheme as well

svn path=/trunk/KDE/kdegraphics/okular/; revision=765271
This commit is contained in:
Pino Toscano 2008-01-23 18:22:38 +00:00
parent a3e0474e35
commit e26ce5255b

View file

@ -295,6 +295,7 @@ PageViewTopMessage::PageViewTopMessage( QWidget * parent )
setAutoFillBackground( true );
QPalette pal = palette();
KColorScheme::adjustBackground( pal, KColorScheme::NeutralBackground, QPalette::Window );
KColorScheme::adjustForeground( pal, KColorScheme::NeutralText, QPalette::Text );
setPalette( pal );
QHBoxLayout * lay = new QHBoxLayout( this );
lay->setMargin( 4 );