diff options
author | Caroline Chao <caroline.chao@digia.com> | 2012-11-08 13:24:20 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-08 15:43:08 +0100 |
commit | 84ab326a7b997cd8dbf1bd5ad9bb712a01c7e42e (patch) | |
tree | 511d8dc19b746ec04a29cc10c7296c94555b8f78 /examples | |
parent | 71d8505203714f2b487de08f4798b05cc55d8aa6 (diff) |
Fixes the examples shared macro.
Detection of the platform's name Mac was wrong.
Task-number: QTBUG-27894
Change-Id: I3194fac4e78d12682871dec63a905b4c940fb80c
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/shared/shared.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shared/shared.h b/examples/shared/shared.h index bf3857f896..e725f8146b 100644 --- a/examples/shared/shared.h +++ b/examples/shared/shared.h @@ -54,7 +54,7 @@ qPrintable(QDir::toNativeSeparators(directory.absolutePath())));\ return -1;\ }\ - } else if (QGuiApplication::platformName() == QLatin1String("Cocoa")) {\ + } else if (QGuiApplication::platformName() == QLatin1String("cocoa")) {\ if (directory.absolutePath().endsWith(#NAME".app/Contents/MacOS"))\ for (int i = 0; i < 3; ++i) {\ if (!directory.cdUp()) {\ |