Simplify MessageLevel::Enum -> MessageLevel

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2025-12-07 12:56:30 +00:00
parent 0fd945b3db
commit fd3ae85d45
20 changed files with 62 additions and 64 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ class LogParser {
public:
struct LogEntry {
QString logger;
MessageLevel::Enum level;
MessageLevel level;
QString levelText;
QDateTime timestamp;
QString thread;
@@ -59,7 +59,7 @@ class LogParser {
std::optional<Error> getError();
/// guess log level from a line of game log
static MessageLevel::Enum guessLevel(const QString& line);
static MessageLevel guessLevel(const QString& line);
protected:
std::optional<LogEntry> parseAttributes();