mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-08 13:08:29 +02:00
refactor(MessageLevel): move and rename 'FromLine*' functions
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
parent
d1b6d7c402
commit
28d27d4f19
4 changed files with 10 additions and 10 deletions
|
|
@ -254,7 +254,7 @@ bool LaunchTask::parseXmlLogs(QString const& line, MessageLevel level)
|
|||
} else if (std::holds_alternative<LogParser::PlainText>(item)) {
|
||||
auto msg = std::get<LogParser::PlainText>(item).message;
|
||||
|
||||
MessageLevel newLevel = messageLevelFromLine(msg);
|
||||
MessageLevel newLevel = MessageLevel::takeFromLine(msg);
|
||||
|
||||
if (newLevel == MessageLevel::Unknown)
|
||||
newLevel = LogParser::guessLevel(line, model->previousLevel());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue