Selaa lähdekoodia

LibGUI: Remove one ancient GMENU_DEBUG debug log

Andreas Kling 4 vuotta sitten
vanhempi
commit
d20e3dbe8b
3 muutettua tiedostoa jossa 0 lisäystä ja 8 poistoa
  1. 0 4
      AK/Debug.h.in
  2. 0 1
      Meta/CMake/all_the_debug_macros.cmake
  3. 0 3
      Userland/Libraries/LibGUI/Menu.cpp

+ 0 - 4
AK/Debug.h.in

@@ -174,10 +174,6 @@
 #cmakedefine01 GLOBAL_DTORS_DEBUG
 #endif
 
-#ifndef GMENU_DEBUG
-#cmakedefine01 GMENU_DEBUG
-#endif
-
 #ifndef GZIP_DEBUG
 #cmakedefine01 GZIP_DEBUG
 #endif

+ 0 - 1
Meta/CMake/all_the_debug_macros.cmake

@@ -126,7 +126,6 @@ set(GEMINI_DEBUG ON)
 set(GEMINIJOB_DEBUG ON)
 set(GENERATE_DEBUG_CODE ON)
 set(GLOBAL_DTORS_DEBUG ON)
-set(GMENU_DEBUG ON)
 set(HEAP_DEBUG ON)
 set(HEX_DEBUG ON)
 set(HTML_SCRIPT_DEBUG ON)

+ 0 - 3
Userland/Libraries/LibGUI/Menu.cpp

@@ -69,9 +69,6 @@ void Menu::set_icon(const Gfx::Bitmap* icon)
 void Menu::add_action(NonnullRefPtr<Action> action)
 {
     m_items.append(make<MenuItem>(m_menu_id, move(action)));
-#if GMENU_DEBUG
-    dbgln("GUI::Menu::add_action(): MenuItem Menu ID: {}", m_menu_id);
-#endif
 }
 
 Menu& Menu::add_submenu(const String& name)