From: david Date: Mon, 23 Dec 2002 17:58:31 +0000 (+0000) Subject: Removed debugging statements accidentally left in. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63672604bf0323dfc6d5cba0eb7b30240fcf07be;p=flightgear.git Removed debugging statements accidentally left in. --- diff --git a/src/GUI/new_gui.cxx b/src/GUI/new_gui.cxx index 57fad0403..90cff403d 100644 --- a/src/GUI/new_gui.cxx +++ b/src/GUI/new_gui.cxx @@ -28,12 +28,8 @@ action_callback (puObject * object) (NewGUI *)globals->get_subsystem_mgr() ->get_group(FGSubsystemMgr::INIT)->get_subsystem("gui"); gui->setCurrentWidget(info->widget); - for (int i = 0; i < info->bindings.size(); i++) { - std::cerr << "Firing binding " << i << ": " << info->bindings[i]->getCommandName() << std::endl; + for (int i = 0; i < info->bindings.size(); i++) info->bindings[i]->fire(); - std::cerr << "done\n"; - } - std::cerr << "All bindings fired\n"; gui->setCurrentWidget(0); } @@ -70,7 +66,6 @@ GUIWidget::GUIWidget (SGPropertyNode_ptr props) GUIWidget::~GUIWidget () { - std::cerr << "Destroying widget\n"; delete _object; int i;