Fix default colors for workarea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35074 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-08-07 09:21:44 +00:00
parent 7547cf9e5f
commit c2dfd50705

View File

@ -828,8 +828,8 @@ GuiApplication::GuiApplication(int & argc, char ** argv)
lyxrc.typewriter_font_name = fromqstr(typewriterFontName());
// initialize colors
setColor(Color_background, palette(), QPalette::Window);
setColor(Color_foreground, palette(), QPalette::WindowText);
setColor(Color_background, palette(), QPalette::Base);
setColor(Color_foreground, palette(), QPalette::Text);
setColor(Color_selection, palette(), QPalette::Highlight);
setColor(Color_selectiontext, palette(), QPalette::HighlightedText);