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
@@ -94,7 +94,7 @@ DlgExpressionInput::DlgExpressionInput(const App::ObjectIdentifier & _path,
|
||||
("User parameter:BaseApp/Preferences/Expression")->GetBool("NoSystemBackground", false);
|
||||
|
||||
if (noBackground) {
|
||||
#if defined(Q_OS_MAC)
|
||||
#if defined(Q_OS_MACOS)
|
||||
setWindowFlags(Qt::Widget | Qt::Popup | Qt::FramelessWindowHint);
|
||||
#else
|
||||
setWindowFlags(Qt::SubWindow | Qt::Widget | Qt::Popup | Qt::FramelessWindowHint);
|
||||
|
||||
Reference in New Issue
Block a user