diff --git a/cockatrice/src/logger.cpp b/cockatrice/src/logger.cpp index e954fee4..d1380530 100644 --- a/cockatrice/src/logger.cpp +++ b/cockatrice/src/logger.cpp @@ -106,7 +106,7 @@ QString Logger::getSystemArchitecture() QString Logger::getClientOperatingSystem() { - #ifdef QSYSINFO_H + #if QT_VERSION >= 0x050400 return QSysInfo::prettyProductName(); #endif