diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-10 10:02:20 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-10 10:02:20 +0100 |
commit | f35a723f61c4a816b35a581de304ce031ef17151 (patch) | |
tree | ee862da87f2d891fd1348a7ced822f0058e45ee0 /Services/Taskbar | |
parent | 13e8a2a671d7d196cabc51987935b1e815102868 (diff) | |
download | serenity-f35a723f61c4a816b35a581de304ce031ef17151.zip |
Everywhere: Convert a bunch of dbgprintf() to dbgln()
Diffstat (limited to 'Services/Taskbar')
-rw-r--r-- | Services/Taskbar/TaskbarWindow.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Services/Taskbar/TaskbarWindow.cpp b/Services/Taskbar/TaskbarWindow.cpp index a68dedc4c9..fbc7946634 100644 --- a/Services/Taskbar/TaskbarWindow.cpp +++ b/Services/Taskbar/TaskbarWindow.cpp @@ -233,7 +233,7 @@ void TaskbarWindow::wm_event(GUI::WMEvent& event) case GUI::Event::WM_WindowRemoved: { #ifdef EVENT_DEBUG auto& removed_event = static_cast<GUI::WMWindowRemovedEvent&>(event); - dbgprintf("WM_WindowRemoved: client_id=%d, window_id=%d\n", + dbgln("WM_WindowRemoved: client_id={}, window_id={}", removed_event.client_id(), removed_event.window_id()); #endif @@ -246,10 +246,10 @@ void TaskbarWindow::wm_event(GUI::WMEvent& event) case GUI::Event::WM_WindowRectChanged: { #ifdef EVENT_DEBUG auto& changed_event = static_cast<GUI::WMWindowRectChangedEvent&>(event); - dbgprintf("WM_WindowRectChanged: client_id=%d, window_id=%d, rect=%s\n", + dbgln("WM_WindowRectChanged: client_id={}, window_id={}, rect={}", changed_event.client_id(), changed_event.window_id(), - changed_event.rect().to_string().characters()); + changed_event.rect()); #endif break; } @@ -257,7 +257,7 @@ void TaskbarWindow::wm_event(GUI::WMEvent& event) case GUI::Event::WM_WindowIconBitmapChanged: { auto& changed_event = static_cast<GUI::WMWindowIconBitmapChangedEvent&>(event); #ifdef EVENT_DEBUG - dbgprintf("WM_WindowIconBitmapChanged: client_id=%d, window_id=%d, icon_buffer_id=%d\n", + dbgln("WM_WindowIconBitmapChanged: client_id={}, window_id={}, icon_buffer_id={}", changed_event.client_id(), changed_event.window_id(), changed_event.icon_buffer_id()); @@ -274,11 +274,11 @@ void TaskbarWindow::wm_event(GUI::WMEvent& event) case GUI::Event::WM_WindowStateChanged: { auto& changed_event = static_cast<GUI::WMWindowStateChangedEvent&>(event); #ifdef EVENT_DEBUG - dbgprintf("WM_WindowStateChanged: client_id=%d, window_id=%d, title=%s, rect=%s, is_active=%u, is_minimized=%u\n", + dbgln("WM_WindowStateChanged: client_id={}, window_id={}, title={}, rect={}, is_active={}, is_minimized={}", changed_event.client_id(), changed_event.window_id(), - changed_event.title().characters(), - changed_event.rect().to_string().characters(), + changed_event.title(), + changed_event.rect(), changed_event.is_active(), changed_event.is_minimized()); #endif |