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

@@ -586,7 +586,7 @@ QPixmap QGVPage::prepareCursorPixmap(const char* iconName, QPoint& hotspot)
// the 64x64 based hotspot position for our 32x32 based cursor pixmaps accordingly
floatHotspot *= 0.5;
#if !defined(Q_OS_WIN32) && !defined(Q_OS_MAC)
#if !defined(Q_OS_WIN32) && !defined(Q_OS_MACOS)
// On XCB platform, the pixmap device pixel ratio is not taken into account for cursor hot spot,
// therefore we must take care of the transformation ourselves...
// Refer to QTBUG-68571 - https://bugreports.qt.io/browse/QTBUG-68571