MacOS: Modify OS detection macro (#15924)
* Fixes #15904 * MacOS: Always use Q_OS_MACOS to detect MacOS because the Conda builds do not define Q_OS_APPLE
This commit is contained in:
@@ -96,7 +96,7 @@ TDragger::TDragger()
|
||||
{
|
||||
SO_KIT_CONSTRUCTOR(TDragger);
|
||||
|
||||
#if defined(Q_OS_APPLE)
|
||||
#if defined(Q_OS_MACOS)
|
||||
this->ref();
|
||||
#endif
|
||||
|
||||
@@ -400,7 +400,7 @@ void TPlanarDragger::initClass()
|
||||
TPlanarDragger::TPlanarDragger()
|
||||
{
|
||||
SO_KIT_CONSTRUCTOR(TPlanarDragger);
|
||||
#if defined(Q_OS_APPLE)
|
||||
#if defined(Q_OS_MACOS)
|
||||
this->ref();
|
||||
#endif
|
||||
|
||||
@@ -698,7 +698,7 @@ void RDragger::initClass()
|
||||
RDragger::RDragger()
|
||||
{
|
||||
SO_KIT_CONSTRUCTOR(RDragger);
|
||||
#if defined(Q_OS_APPLE)
|
||||
#if defined(Q_OS_MACOS)
|
||||
this->ref();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user