Commit e60c1ec1 authored by Jure Repinc's avatar Jure Repinc

The background is always yellow, the text can be hard to read with a dark

color scheme with white text. So now the text is always set to black.

svn path=/trunk/KDE/kdegraphics/okular/; revision=755179
parent 4554ddbf
......@@ -289,6 +289,7 @@ PageViewTopMessage::PageViewTopMessage( QWidget * parent )
pal.setColor( QPalette::Active, QPalette::Window, Qt::yellow );
pal.setColor( QPalette::Inactive, QPalette::Window, Qt::yellow );
pal.setColor( QPalette::Disabled, QPalette::Window, Qt::yellow );
pal.setColor( QPalette::WindowText, Qt::black );
setPalette( pal );
QHBoxLayout * lay = new QHBoxLayout( this );
lay->setMargin( 4 );
......
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