mirror of
https://github.com/huderlem/porymap.git
synced 2026-11-10 19:08:22 -06:00
Fix log file cleanup warning only printing to debug
This commit is contained in:
@@ -196,8 +196,9 @@ void logInit() {
|
||||
clearLogDisplays();
|
||||
});
|
||||
|
||||
Log::initialized = true;
|
||||
|
||||
if (cleanupLargeLog()) {
|
||||
logWarn(QString("Previous log file %1 was cleared due to being over 20MB in size.").arg(Log::path));
|
||||
}
|
||||
Log::initialized = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user