On Feb 13, 2007, at 10:01 AM, Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> On Feb 13, 2007, at 6:27 AM, Jean-Marc Lasgouttes wrote:
"Bennett" == Bennett Helm <[EMAIL PROTECTED]> writes:
Bennett> This patch has some strange behaviors -- which I'm now
Bennett> noticing are problems with the original patch (as modified by
Bennett> Abdel).
Hmm, I think I know why it happens: a menu with a role can only be
recognized once...
So we have to keep part of the old hack. Please try this new
version of the patch.
Bennett> Compile error:
Missing QAction::. Try this one.
Next...:
QLMenubar.C: In member function 'void
lyx::frontend::QLMenubar::macxMenuBarInit()':
QLMenubar.C:198: error: invalid initialization of reference of type
'const lyx::docstring&' from expression of type 'const char*'
QLMenubar.C:167: error: in passing argument 4 of 'void
lyx::frontend::<unnamed>::addMacItem(lyx::frontend::GuiView&,
lyx::Menu&, QMenu*, const lyx::docstring&, const lyx::FuncRequest&,
QAction::MenuRole)'
QLMenubar.C:201: error: invalid initialization of reference of type
'const lyx::docstring&' from expression of type 'const char*'
QLMenubar.C:167: error: in passing argument 4 of 'void
lyx::frontend::<unnamed>::addMacItem(lyx::frontend::GuiView&,
lyx::Menu&, QMenu*, const lyx::docstring&, const lyx::FuncRequest&,
QAction::MenuRole)'
QLMenubar.C:204: error: invalid initialization of reference of type
'const lyx::docstring&' from expression of type 'const char*'
QLMenubar.C:167: error: in passing argument 4 of 'void
lyx::frontend::<unnamed>::addMacItem(lyx::frontend::GuiView&,
lyx::Menu&, QMenu*, const lyx::docstring&, const lyx::FuncRequest&,
QAction::MenuRole)'
make[2]: *** [QLMenubar.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Bennett