ifdef __APPLE1__

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ifdef __APPLE1__

ravas
What is the point of this?

#ifdef __APPLE1__
    QMenu* m = menu;
    menu= m->addMenu(tr("&Dimension"));
#else
    menu = menuBar()->addMenu(tr("&Dimension"));
#endif
Reply | Threaded
Open this post in threaded view
|

Re: ifdef __APPLE1__

dxli
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
Reply | Threaded
Open this post in threaded view
|

Re: ifdef __APPLE1__

R. van Twisk
Administrator



On Jul 24, 2015, at 9:40 PM, dxli [via LibreCAD] <[hidden email]> wrote:

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
You might beable to get rid of it, I remember I got a exception on the other code..