From: Vincent van Ravesteijn Date: Sun, 13 Feb 2011 10:08:52 +0000 (+0000) Subject: Do not compile unused code. X-Git-Tag: 2.0.0~763 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f6a3b37d1891ffa00ee351e3752659e90ec348d0;p=lyx.git Do not compile unused code. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37634 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index b6cebbe043..417190551b 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -1413,15 +1413,14 @@ void GuiApplication::dispatch(FuncRequest const & cmd, DispatchResult & dr) break; } +#if 0 + // FIXME: The graphics cache no longer has a changeDisplay method. string const graphicsbg = lcolor.getLyXName(Color_graphicsbg); bool const graphicsbg_changed = lyx_name == graphicsbg && x11_name != graphicsbg; - if (graphicsbg_changed) { - // FIXME: The graphics cache no longer has a changeDisplay method. -#if 0 + if (graphicsbg_changed) graphics::GCache::get().changeDisplay(true); #endif - } if (!lcolor.setColor(lyx_name, x11_name)) { if (current_view_)