GUI: Update MacOS detection macros
For GUI-specific things use Q_OS_MACOS, and for other things use Q_OS_APPLE.
This commit is contained in:
committed by
Chris Hennes
parent
b20bc14e32
commit
ea9f0c7a67
@@ -673,7 +673,7 @@ FileChooser::FileChooser ( QWidget * parent )
|
||||
|
||||
button = new QPushButton(QLatin1String("..."), this);
|
||||
|
||||
#if defined (Q_OS_MAC)
|
||||
#if defined (Q_OS_MACOS)
|
||||
button->setAttribute(Qt::WA_LayoutUsesWidgetRect); // layout size from QMacStyle was not correct
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user