From 8b617a5849bf3677e9da6b0ffc6bf88ca4ee8c3d Mon Sep 17 00:00:00 2001 From: Ansariel Date: Thu, 18 May 2017 08:58:30 +0200 Subject: [PATCH] Remove XUI callback handlers that are not necessary anymore --- indra/newview/llinventorypanel.cpp | 1 - indra/newview/llpanelobjectinventory.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 9104b7ce25..7abfc0fa14 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -181,7 +181,6 @@ LLInventoryPanel::LLInventoryPanel(const LLInventoryPanel::Params& p) : mCommitCallbackRegistrar.add("Inventory.Share", boost::bind(&LLAvatarActions::shareWithAvatars, this)); mCommitCallbackRegistrar.add("Inventory.FileUploadLocation", boost::bind(&LLInventoryPanel::fileUploadLocation, this, _2)); mCommitCallbackRegistrar.add("Inventory.CustomAction", boost::bind(&LLInventoryPanel::onCustomAction, this, _2)); // Prevent warning "No callback found for: 'Inventory.CustomAction' in control: Find Links" - mCommitCallbackRegistrar.add("Inventory.Purge", boost::bind(&LLAvatarActions::purgeSelectedItems)); // Prevent warning "No callback found for: 'Inventory.Purge' in control: Purge Item" } LLFolderView * LLInventoryPanel::createFolderRoot(LLUUID root_id ) diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp index ff714b8c6f..8669dce9bf 100644 --- a/indra/newview/llpanelobjectinventory.cpp +++ b/indra/newview/llpanelobjectinventory.cpp @@ -1657,7 +1657,6 @@ LLPanelObjectInventory::LLPanelObjectInventory(const LLPanelObjectInventory::Par mCommitCallbackRegistrar.add("Inventory.Share", boost::bind(&LLAvatarActions::shareWithAvatars, this)); mCommitCallbackRegistrar.add("Inventory.FileUploadLocation", boost::bind(&do_nothing)); mCommitCallbackRegistrar.add("Inventory.CustomAction", boost::bind(&do_nothing)); // Prevent warning "No callback found for: 'Inventory.CustomAction' in control: Find Links" - mCommitCallbackRegistrar.add("Inventory.Purge", boost::bind(&do_nothing)); // Prevent warning "No callback found for: 'Inventory.Purge' in control: Purge Item" } // Destroys the object