From ff8d250cbc9d5773466b5578ba051382c4c73eb1 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Tue, 19 May 2020 17:45:08 +0200 Subject: [PATCH] LibGUI: Remove some ancient unused debug logging in AbstractButton --- Libraries/LibGUI/AbstractButton.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Libraries/LibGUI/AbstractButton.cpp b/Libraries/LibGUI/AbstractButton.cpp index 2677b9baa9..d13cb7843c 100644 --- a/Libraries/LibGUI/AbstractButton.cpp +++ b/Libraries/LibGUI/AbstractButton.cpp @@ -107,9 +107,6 @@ void AbstractButton::mousemove_event(MouseEvent& event) void AbstractButton::mousedown_event(MouseEvent& event) { -#ifdef GABSTRACTBUTTON_DEBUG - dbgprintf("AbstractButton::mouse_down_event: x=%d, y=%d, button=%u\n", event.x(), event.y(), (unsigned)event.button()); -#endif if (event.button() == MouseButton::Left) { m_being_pressed = true; update(); @@ -124,9 +121,6 @@ void AbstractButton::mousedown_event(MouseEvent& event) void AbstractButton::mouseup_event(MouseEvent& event) { -#ifdef GABSTRACTBUTTON_DEBUG - dbgprintf("AbstractButton::mouse_up_event: x=%d, y=%d, button=%u\n", event.x(), event.y(), (unsigned)event.button()); -#endif if (event.button() == MouseButton::Left) { bool was_auto_repeating = m_auto_repeat_timer->is_active(); m_auto_repeat_timer->stop();