mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
also replace Q_OS_APPLE
This commit is contained in:
parent
b8a3c2dc52
commit
467a403efa
2 changed files with 2 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ int main(int argc, char *argv[])
|
||||||
// liability; unclean exits are detected via CrashReporter::beginSession below.)
|
// liability; unclean exits are detected via CrashReporter::beginSession below.)
|
||||||
|
|
||||||
// Logging setup
|
// Logging setup
|
||||||
#ifdef Q_OS_APPLE
|
#ifdef Q_OS_MACOS
|
||||||
// <build>/cockatrice/cockatrice.app/Contents/MacOS/cockatrice
|
// <build>/cockatrice/cockatrice.app/Contents/MacOS/cockatrice
|
||||||
const QByteArray configPath = "../../../qtlogging.ini";
|
const QByteArray configPath = "../../../qtlogging.ini";
|
||||||
#elif defined(Q_OS_UNIX)
|
#elif defined(Q_OS_UNIX)
|
||||||
|
|
|
||||||
|
|
@ -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.
|
baked into the application in release version and set as the QT_LOGGING_CONF environment variable in main.cpp.
|
||||||
|
|
||||||
```c++
|
```c++
|
||||||
#ifdef Q_OS_APPLE
|
#ifdef Q_OS_MACOS
|
||||||
// <build>/cockatrice/cockatrice.app/Contents/MacOS/cockatrice
|
// <build>/cockatrice/cockatrice.app/Contents/MacOS/cockatrice
|
||||||
const QByteArray configPath = "../../../qtlogging.ini";
|
const QByteArray configPath = "../../../qtlogging.ini";
|
||||||
#elif defined(Q_OS_UNIX)
|
#elif defined(Q_OS_UNIX)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue