From d999c98bad244bd842c65eb58b2b7fa5feea553e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Fri, 18 Mar 2011 15:12:03 +0000 Subject: [PATCH] * GuiPrefs.cpp: no need to exclude greyedouttext and shaded colors from prefs. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37952 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiPrefs.cpp | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index 39234de70b..61224ec7c2 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -1076,19 +1076,17 @@ PrefColors::PrefColors(GuiPreferences * form) for (int i = 0; i < Color_ignore; ++i) { ColorCode lc = static_cast(i); if (lc == Color_none - || lc == Color_black - || lc == Color_white - || lc == Color_red - || lc == Color_green - || lc == Color_blue - || lc == Color_cyan - || lc == Color_magenta - || lc == Color_yellow - || lc == Color_inherit - || lc == Color_ignore - || lc == Color_greyedouttext - || lc == Color_shadedbg) continue; - + || lc == Color_black + || lc == Color_white + || lc == Color_red + || lc == Color_green + || lc == Color_blue + || lc == Color_cyan + || lc == Color_magenta + || lc == Color_yellow + || lc == Color_inherit + || lc == Color_ignore) + continue; lcolors_.push_back(lc); } sort(lcolors_.begin(), lcolors_.end(), ColorSorter()); -- 2.39.5