diff --git a/src/frontends/qt4/GuiToc.cpp b/src/frontends/qt4/GuiToc.cpp index 7d09e5031e..5fd6ef47f5 100644 --- a/src/frontends/qt4/GuiToc.cpp +++ b/src/frontends/qt4/GuiToc.cpp @@ -36,8 +36,7 @@ bool GuiToc::canOutline(int type) const { if (type < 0) return false; - - return canOutline(type); + return ControlToc::canOutline(type); }