]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt4/GuiView.C
disable toolbar popup menu, this is better than the current state
[features.git] / src / frontends / qt4 / GuiView.C
index 6696e69f84f3ea7766c2ecb88f78bedab982a5e3..ac09c8edda1ba540c5b95212f5cb2be662dbad5c 100644 (file)
@@ -136,6 +136,12 @@ void GuiView::close()
        QMainWindow::close();
 }
 
+QMenu* GuiView::createPopupMenu()
+{
+       // disable toolbar popup menu 
+       // Qt docs: Ownership of the popup menu is transferred to the caller.
+       return new QMenu;
+}
 
 void GuiView::init()
 {