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:
Chris Hennes
2024-08-02 16:31:22 -04:00
committed by Chris Hennes
parent f846cc7acf
commit e52ef2a525
13 changed files with 18 additions and 18 deletions

View File

@@ -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);