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
f846cc7acf
commit
e52ef2a525
@@ -2690,7 +2690,7 @@ public:
|
||||
qreal pRatio = widget->devicePixelRatioF();
|
||||
qreal hotXF = hotX;
|
||||
qreal hotYF = hotY;
|
||||
#if !defined(Q_OS_WIN32) && !defined(Q_OS_MAC)
|
||||
#if !defined(Q_OS_WIN32) && !defined(Q_OS_MACOS)
|
||||
if (qApp->platformName() == QLatin1String("xcb")) {
|
||||
hotXF *= pRatio;
|
||||
hotYF *= pRatio;
|
||||
|
||||
Reference in New Issue
Block a user