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

svn path=/trunk/KDE/kdegraphics/okular/; revision=765271
remotes/origin/KDE/4.1
Pino Toscano 18 years ago
parent a3e0474e35
commit e26ce5255b
  1. 1
      ui/pageviewutils.cpp

@ -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 );

Loading…
Cancel
Save