mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
remove Qt guards (#3328)
* remove version guards * clangify * [skip ci] README wording * add cmake requirement to readme * remove return * remove min req from README
This commit is contained in:
parent
c12c3c071f
commit
cba1ca8d5b
3 changed files with 1 additions and 14 deletions
|
|
@ -2,15 +2,12 @@
|
|||
#include "version_string.h"
|
||||
#include <QDateTime>
|
||||
#include <QLocale>
|
||||
#include <QSysInfo>
|
||||
#include <iostream>
|
||||
|
||||
#define LOGGER_MAX_ENTRIES 128
|
||||
#define LOGGER_FILENAME "qdebug.txt"
|
||||
|
||||
#if QT_VERSION >= 0x050400
|
||||
#include <QSysInfo>
|
||||
#endif
|
||||
|
||||
Logger::Logger() : logToFileEnabled(false)
|
||||
{
|
||||
logBuffer.append(getClientVersion());
|
||||
|
|
@ -104,11 +101,7 @@ QString Logger::getSystemArchitecture()
|
|||
|
||||
QString Logger::getClientOperatingSystem()
|
||||
{
|
||||
#if QT_VERSION >= 0x050400
|
||||
return QSysInfo::prettyProductName();
|
||||
#endif
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
QString Logger::getSystemLocale()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue