diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2023-06-08 09:59:59 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-06-08 08:22:35 +0000 |
commit | f447e10dcd78aa2f978465a66af8233ed9256628 (patch) | |
tree | 55a15f6d23c0a7922559091d251cc1fe6bc75846 /git-hooks | |
parent | cbb5cce6ea17e0e84ff6a0b59f75d7834b6215e6 (diff) |
Don't advocate use of Q_OS_OSX to replace Q_OS_MAC && !Q_OS_IOS
Out of date advice in the inanity 'bot.
Change-Id: I0c63d9b44841072548fbcd6bf9cdc4ab30ddd1de
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'git-hooks')
-rwxr-xr-x | git-hooks/sanitize-commit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-hooks/sanitize-commit b/git-hooks/sanitize-commit index 7617ad4..fd1038d 100755 --- a/git-hooks/sanitize-commit +++ b/git-hooks/sanitize-commit @@ -251,7 +251,7 @@ sub check_apple_terminology() if ($clike) { if (/\bQ_OS_MAC\b.*&&.*!.*\bQ_OS_IOS\b/) { complain_ln("Use of deprecated idiom 'defined(Q_OS_MAC) && !defined(Q_OS_IOS)';" . - " use Q_OS_OSX instead", "terminology"); + " use Q_OS_MACOS instead", "terminology"); } if (/\bQ_OS_MAC\b/) { |