Browse Source

GWidget: Silence debug spam about the click clock.

Andreas Kling 6 years ago
parent
commit
7a74b76769
1 changed files with 2 additions and 0 deletions
  1. 2 0
      LibGUI/GWidget.cpp

+ 2 - 0
LibGUI/GWidget.cpp

@@ -163,7 +163,9 @@ void GWidget::handle_mouseup_event(GMouseEvent& event)
     // FIXME: This needs improvement.
     if (m_click_clock.is_valid()) {
         int elapsed_since_last_click = m_click_clock.elapsed();
+#if 0
         dbgprintf("Click clock elapsed: %d\n", m_click_clock.elapsed());
+#endif
         if (elapsed_since_last_click < 250) {
             doubleclick_event(event);
         } else {