X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt%2FGuiToc.cpp;h=e9ee840fd88cd47399b6a4ad7e2076b8ea4dd261;hb=c68be9a9be4b397825bf2b9844d25ad79f03dc96;hp=e05152462011ec16d7f793f500254cb71f553753;hpb=c293be56bd12c5dc46e5cedd2828e33918fccef7;p=lyx.git diff --git a/src/frontends/qt/GuiToc.cpp b/src/frontends/qt/GuiToc.cpp index e051524620..e9ee840fd8 100644 --- a/src/frontends/qt/GuiToc.cpp +++ b/src/frontends/qt/GuiToc.cpp @@ -14,7 +14,6 @@ #include "GuiToc.h" #include "GuiView.h" -#include "DockView.h" #include "TocWidget.h" #include "qt_helpers.h" @@ -76,9 +75,10 @@ void GuiToc::closeEvent(QCloseEvent * /*event*/) } -void GuiToc::doDispatch(Cursor & cur, FuncRequest const & cmd) +void GuiToc::doDispatch(Cursor & cur, FuncRequest const & cmd, + DispatchResult & dr) { - widget_->doDispatch(cur, cmd); + widget_->doDispatch(cur, cmd, dr); }