Replace Q_OS_MAC with Q_OS_DARWIN to match line 2731

Change-Id: Ieefa490d349169db801f3b6d8e3cf799c7621473
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Lars Schmertmann 2018-11-06 18:49:03 +01:00 committed by Lars Schmertmann
parent 229b363c85
commit d3fe78f6c4

View File

@ -2685,7 +2685,7 @@ QSettings::QSettings(QObject *parent)
*/
QSettings::QSettings(Scope scope, QObject *parent)
: QObject(*QSettingsPrivate::create(globalDefaultFormat, scope,
#ifdef Q_OS_MAC
#ifdef Q_OS_DARWIN
QCoreApplication::organizationDomain().isEmpty()
? QCoreApplication::organizationName()
: QCoreApplication::organizationDomain()