From ee33e445287cacd0d1e6f38d29dd77ecaf5e11cf Mon Sep 17 00:00:00 2001 From: John Levon Date: Sat, 14 Sep 2002 20:10:10 +0000 Subject: [PATCH] compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5304 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt2/QLPopupMenu.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt2/QLPopupMenu.C b/src/frontends/qt2/QLPopupMenu.C index 751715b93c..02b94bfa11 100644 --- a/src/frontends/qt2/QLPopupMenu.C +++ b/src/frontends/qt2/QLPopupMenu.C @@ -89,7 +89,7 @@ void QLPopupMenu::populate(Menu * menu) if (m->kind() == MenuItem::Separator) { insertSeparator(); } else if (m->kind() == MenuItem::Submenu) { - pair res = createMenu(this, m, owner_); + pair res = createMenu(this, &(*m), owner_); setItemEnabled(res.first, !disabled(m->submenu())); res.second->populate(m->submenu()); } else {