1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00

Everywhere: Replace a bundle of dbg with dbgln.

These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.
This commit is contained in:
asynts 2021-01-11 13:32:26 +01:00 committed by Andreas Kling
parent 6fa42af567
commit 843ebbd2c3
15 changed files with 46 additions and 21 deletions

View file

@ -58,7 +58,7 @@ int Dialog::exec()
show();
auto result = m_event_loop->exec();
m_event_loop = nullptr;
dbg() << *this << ": Event loop returned with result " << result;
dbgln("{}: Event loop returned with result {}", *this, result);
remove_from_parent();
return result;
}
@ -68,7 +68,7 @@ void Dialog::done(int result)
if (!m_event_loop)
return;
m_result = result;
dbg() << *this << ": Quit event loop with result " << result;
dbgln("{}: Quit event loop with result {}", *this, result);
m_event_loop->quit(result);
}