diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index 0d8dfef022..75497d26b0 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -294,7 +294,7 @@ public: /// GuiPopupMenu(GuiView * gv, QString const & name_, bool top_level) - : QMenu(gv), top_level_menu(top_level? new Menu : 0), view(gv), + : GuiPopupMenuBase(gv), top_level_menu(top_level? new Menu : 0), view(gv), name(name_) { setTitle(name_); diff --git a/src/frontends/qt4/Menus.h b/src/frontends/qt4/Menus.h index dce206d67a..da2e05b74b 100644 --- a/src/frontends/qt4/Menus.h +++ b/src/frontends/qt4/Menus.h @@ -15,7 +15,7 @@ #include "support/docstring.h" -#include +#include #include