diff --git a/ui/qt/wireshark_main_window.cpp b/ui/qt/wireshark_main_window.cpp index f0a1a79b98..d65bdd3d0a 100644 --- a/ui/qt/wireshark_main_window.cpp +++ b/ui/qt/wireshark_main_window.cpp @@ -2836,6 +2836,7 @@ void WiresharkMainWindow::reloadDynamicMenus() mainApp->clearRemovedMenuGroupItems(); } +// NOLINTNEXTLINE(misc-no-recursion) void WiresharkMainWindow::externalMenuHelper(ext_menu_t * menu, QMenu * subMenu, int depth) { QAction * itemAction = Q_NULLPTR; diff --git a/ui/stratoshark/stratoshark_main_window.cpp b/ui/stratoshark/stratoshark_main_window.cpp index 11d5dc3091..50c586d840 100644 --- a/ui/stratoshark/stratoshark_main_window.cpp +++ b/ui/stratoshark/stratoshark_main_window.cpp @@ -2599,6 +2599,7 @@ void StratosharkMainWindow::reloadDynamicMenus() mainApp->clearRemovedMenuGroupItems(); } +// NOLINTNEXTLINE(misc-no-recursion) void StratosharkMainWindow::externalMenuHelper(ext_menu_t * menu, QMenu * subMenu, int depth) { QAction * itemAction = Q_NULLPTR;