Login  Register

Re: ifdef __APPLE1__

Posted by dxli on Jul 24, 2015; 7:40pm
URL: https://forum.librecad.org/ifdef-APPLE1-tp5711936p5711938.html

I can test this one.

It must be a hack by Ries.

ravas wrote
What is the point of this?

#ifdef __APPLE1__
    QMenu* m = menu;
    menu= m->addMenu(tr("&Dimension"));
#else
    menu = menuBar()->addMenu(tr("&Dimension"));
#endif