1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-21 11:57:44 +00:00

Revert "Move default message pattern to setup_physis_logging function"

This reverts commit 82abee1d74.
This commit is contained in:
Joshua Goins 2023-12-09 15:57:10 -05:00
parent b50a058d86
commit 5dc63ba6dc

View file

@ -15,6 +15,11 @@ int main(int argc, char *argv[])
customizeAboutData(QStringLiteral("armoury"), QStringLiteral("Armoury"), QStringLiteral("Program to view FFXIV gear.")); customizeAboutData(QStringLiteral("armoury"), QStringLiteral("Armoury"), QStringLiteral("Program to view FFXIV gear."));
// Default to a sensible message pattern
if (qEnvironmentVariableIsEmpty("QT_MESSAGE_PATTERN")) {
qputenv("QT_MESSAGE_PATTERN", "[%{time yyyy-MM-dd h:mm:ss.zzz}] %{if-category}[%{category}] %{endif}[%{type}] %{message}");
}
setup_physis_logging(); setup_physis_logging();
const QString gameDir{getGameDirectory()}; const QString gameDir{getGameDirectory()};