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

LibGUI: Use dbg() instead of dbgprintf() in GUI::Dialog

This commit is contained in:
Andreas Kling 2020-05-19 17:45:48 +02:00
parent ff8d250cbc
commit 6d078a9ec3

View file

@ -56,7 +56,7 @@ int Dialog::exec()
show();
auto result = m_event_loop->exec();
m_event_loop = nullptr;
dbgprintf("%s: event loop returned with result %d\n", class_name(), result);
dbg() << *this << ": Event loop returned with result " << result;
remove_from_parent();
return result;
}
@ -66,7 +66,7 @@ void Dialog::done(int result)
if (!m_event_loop)
return;
m_result = result;
dbgprintf("%s: quit event loop with result %d\n", class_name(), result);
dbg() << *this << ": Quit event loop with result " << result;
m_event_loop->quit(result);
}