mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-05 23:49:20 +00:00
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:
parent
a3e0474e35
commit
e26ce5255b
|
@ -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…
Reference in a new issue