also replace Q_OS_APPLE

This commit is contained in:
RickyRister 2026-11-12 07:52:07 -07:00
parent b8a3c2dc52
commit 467a403efa
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ int main(int argc, char *argv[])
// liability; unclean exits are detected via CrashReporter::beginSession below.)
// Logging setup
#ifdef Q_OS_APPLE
#ifdef Q_OS_MACOS
// <build>/cockatrice/cockatrice.app/Contents/MacOS/cockatrice
const QByteArray configPath = "../../../qtlogging.ini";
#elif defined(Q_OS_UNIX)

View file

@ -58,7 +58,7 @@ For configuring our logging, we use the qtlogging.ini, located under cockatrice/
baked into the application in release version and set as the QT_LOGGING_CONF environment variable in main.cpp.
```c++
#ifdef Q_OS_APPLE
#ifdef Q_OS_MACOS
// <build>/cockatrice/cockatrice.app/Contents/MacOS/cockatrice
const QByteArray configPath = "../../../qtlogging.ini";
#elif defined(Q_OS_UNIX)