diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2013-11-21 22:28:35 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-22 13:45:25 +0100 |
commit | e2faf4bdf86bb79adf23d96112d401f3bb4a36d9 (patch) | |
tree | 5f2d280f6dad1f5b6cc35312d317ceb6d9a0d458 | |
parent | cfcd489f269746c501259f1fdb8741e20c9a3fa6 (diff) |
Use Q_OS_MAC, not Q_WS_MAC
The latter doesn't exist any more in Qt 5.
Change-Id: Ib8430549e8a975626ebfe0cd4ca7c3f6eade1e4f
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
-rw-r--r-- | doc/src/snippets/code/doc_src_mac-differences.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/doc_src_mac-differences.cpp b/doc/src/snippets/code/doc_src_mac-differences.cpp index 7acd87081..17f9dd779 100644 --- a/doc/src/snippets/code/doc_src_mac-differences.cpp +++ b/doc/src/snippets/code/doc_src_mac-differences.cpp @@ -39,7 +39,7 @@ ****************************************************************************/ //! [1] -#ifdef Q_WS_MAC +#ifdef Q_OS_MAC CFURLRef appUrlRef = CFBundleCopyBundleURL(CFBundleGetMainBundle()); CFStringRef macPath = CFURLCopyFileSystemPath(appUrlRef, kCFURLPOSIXPathStyle); |