X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiSymbols.cpp;h=6bd5ba210a4bf1f9fcbed1c4751b482422dd8749;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=864b7b49c41cd6ea416b7e65e4ac1311a33486c6;hpb=f45523aa7a39a8d78d6ae3e74f52b598e67a9a2d;p=lyx.git diff --git a/src/frontends/qt4/GuiSymbols.cpp b/src/frontends/qt4/GuiSymbols.cpp index 864b7b49c4..6bd5ba210a 100644 --- a/src/frontends/qt4/GuiSymbols.cpp +++ b/src/frontends/qt4/GuiSymbols.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Jürgen Spitzmüller + * \author Jürgen Spitzmüller * * Full author contact details are available in file CREDITS. */ @@ -31,6 +31,8 @@ #include #include +#include + using namespace std; namespace lyx { @@ -432,7 +434,7 @@ void GuiSymbols::updateSymbolList(bool update_combo) if (cat == QChar::Other_Control || cat == QChar::Separator_Space) continue; ++numItem; - if (show_all || c >= range_start && c <= range_end) + if (show_all || (c >= range_start && c <= range_end)) s.append(c); if (update_combo) { QString block = getBlock(c); @@ -477,4 +479,4 @@ Dialog * createGuiSymbols(GuiView & lv) } // namespace frontend } // namespace lyx -#include "GuiSymbols_moc.cpp" +#include "moc_GuiSymbols.cpp"